updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / easytag-resopt / PKGBUILD
blob367ba850b1f770a96b52e693fddc36fcf53fdbca
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>
6 pkgname=easytag-resopt
7 _realname=easytag
8 pkgver=2.1.6
9 pkgrel=1
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')
12 license=('GPL')
13 url="http://easytag.sourceforge.net/"
14 depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac' 'libmp4v2' 'speex' 'wavpack')
15 provides=('easytag')
16 conflicts=('easytag')
17 install=${_realname}.install
18 source=("http://downloads.sourceforge.net/${_realname}/${_realname}-${pkgver}.tar.bz2"
19         'mp4v2-1.9.patch'
20         'resolution_optimize.02.patch')
21 md5sums=('6c5b9dc2bf1f3b0a11bd4efc81aaa9ee'
22          '912d9baa362c4d9e5aee0436b4ccb5a2'
23          '3fe96025f854639a0d9ea02b9c735abc')
25 build() {
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
30   make || return 1
33 package() {
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