From 1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Sep 2011 23:14:33 +0000 Subject: Sun Sep 11 23:14:33 UTC 2011 --- extra/id3/PKGBUILD | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'extra/id3') diff --git a/extra/id3/PKGBUILD b/extra/id3/PKGBUILD index 046797e07..6ef72b356 100644 --- a/extra/id3/PKGBUILD +++ b/extra/id3/PKGBUILD @@ -1,27 +1,32 @@ -# $Id: PKGBUILD 42386 2009-06-13 14:30:24Z giovanni $ +# $Id: PKGBUILD 137772 2011-09-10 18:35:00Z eric $ # Maintainer: Giovanni Scafora # Contributor: Jochem Kossen pkgname=id3 pkgver=0.78 -pkgrel=2 +pkgrel=3 pkgdesc="Utility to edit id3v1 and id3v2 tags" arch=('i686' 'x86_64') -license=('custom') +url="http://freshmeat.net/projects/id3" +license=('BSD') depends=('gcc-libs') -source=(http://home.wanadoo.nl/squell/files/${pkgname}-${pkgver}.tar.gz +options=('!makeflags') +source=(http://linux-bsd-unix.strefa.pl/${pkgname}-${pkgver}.tar.gz id3-0.78-gcc44.patch) -url="http://home.wanadoo.nl/squell/id3.html" md5sums=('bbc2a5d8022006330e6bb51034fafb43' '51370be8d2624efee3683efab608a7f1') build() { - cd ${srcdir}/${pkgname}-${pkgver} - patch -Np1 -i ${srcdir}/id3-0.78-gcc44.patch || return 1 - make || return 1 - make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i ${srcdir}/id3-0.78-gcc44.patch + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make prefix="${pkgdir}/usr" mandir="${pkgdir}/usr/share/man" install #install license - install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } -- cgit v1.2.3-54-g00ecf