updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jampal / PKGBUILD
blob97151be92d59bc348cca7b030c0546a04464fa00
1 # Maintainer: dryes <joswiseman@gmail>
2 pkgname='jampal'
3 pkgver=02.01.05
4 pkgrel=1
5 pkgdesc='mp3 library, advanced ID3V1 and ID3V2 tagger, player.'
6 url='http://sourceforge.net/projects/jampal/'
7 arch=('i686' 'x86_64')
8 depends=('jdk7-openjdk' 'java-environment')
9 makedepends=('desktop-file-utils' 'polyglotman' 'rsync')
10 install='jampal.install'
11 conflicts=('tagbkup')
12 provides=('tagbkup')
13 license=('GPL3')
14 source=("http://sourceforge.net/projects/jampal/files/jampal/02.01.05/jampal-source-${pkgver}.tar.gz/download")
15 md5sums=('181d6858de0c2f902c28f7d33ed1e188')
17 build() {
18   [ -d "${srcdir}/${pkgname}-${pkgver}-build" ] && rm -rf "${srcdir}/${pkgname}-${pkgver}-build"
19   cp -r "${srcdir}/${pkgname}-${pkgver}" "${srcdir}/${pkgname}-${pkgver}-build"
20   cd "${srcdir}/${pkgname}-${pkgver}-build"
21   make
24 package() {
25   cd "${srcdir}/${pkgname}-${pkgver}-build"
26   sed -i -r 's@/usr(/bin/install)@\1@g' 'tagbkup/Makefile'
27   make DESTDIR="${pkgdir}/" install