updated on Sat Jan 7 16:16:25 UTC 2012
[aur-mirror.git] / tagbkup / PKGBUILD
blob97cee257834bec9694c6ea62baa230c3f68a8e11
1 # Maintainer: dryes <joswiseman@gmail>
2 pkgname='tagbkup'
3 _pkgname='jampal'
4 pkgver=02.01.05
5 pkgrel=1
6 pkgdesc='Back up and restore mp3 tags.'
7 url='http://jampal.sourceforge.net/tagbkup.html'
8 arch=('i686' 'x86_64')
9 conflicts=('jampal')
10 license=('GPL3')
11 source=("http://sourceforge.net/projects/jampal/files/jampal/02.01.05/jampal-source-${pkgver}.tar.gz/download")
12 md5sums=('181d6858de0c2f902c28f7d33ed1e188')
14 build() {
15   [ -d "${srcdir}/${_pkgname}-${pkgver}-build" ] && rm -rf "${srcdir}/${_pkgname}-${pkgver}-build"
16   cp -r "${srcdir}/${_pkgname}-${pkgver}" "${srcdir}/${_pkgname}-${pkgver}-build"
17   cd "${srcdir}/${_pkgname}-${pkgver}-build/tagbkup"
18   make
21 package() {
22   cd "${srcdir}/${_pkgname}-${pkgver}-build/tagbkup"
23   sed -i -r 's@/usr(/bin/install)@\1@g' 'Makefile'
24   make DESTDIR="${pkgdir}/" install