1 # $Id: PKGBUILD 71340 2010-03-06 18:44:25Z andrea $
2 # Maintainer: Kevin Piche <kevin@archlinux.org>
3 # Contributor: Aaron Griffin <aaron@archlinux.org>
4 # Contributor: dorphell <dorphell@archlinux.org>
10 pkgdesc="Utility for viewing, editing and writing ID3 tags of your MP3 files, with resolution optimization patch applied for use with small screens."
11 arch=('i686' 'x86_64')
13 url="http://easytag.sourceforge.net/"
14 depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'libmp4v2' 'speex' 'wavpack')
17 install=${_realname}.install
18 source=("http://downloads.sourceforge.net/${_realname}/${_realname}-${pkgver}.tar.bz2"
20 'resolution_optimize.02.patch')
21 md5sums=('6c5b9dc2bf1f3b0a11bd4efc81aaa9ee'
22 '912d9baa362c4d9e5aee0436b4ccb5a2'
23 '3fe96025f854639a0d9ea02b9c735abc')
26 cd ${srcdir}/${_realname}-${pkgver}
27 patch -Np1 -i ${srcdir}/mp4v2-1.9.patch
28 patch -Np0 -i ${srcdir}/resolution_optimize.02.patch
29 ./configure --prefix=/usr
34 cd ${srcdir}/${_realname}-${pkgver}
35 make DESTDIR=${pkgdir} install
37 # Remove directory mimetype
38 sed '/^MimeType=/ s@;x-directory/normal;@;@' \
39 -i ${pkgdir}/usr/share/applications/easytag.desktop