summaryrefslogtreecommitdiff
path: root/extra/cd-discid
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cd-discid')
-rw-r--r--extra/cd-discid/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/extra/cd-discid/PKGBUILD b/extra/cd-discid/PKGBUILD
index d00e1459b..c19387e97 100644
--- a/extra/cd-discid/PKGBUILD
+++ b/extra/cd-discid/PKGBUILD
@@ -1,20 +1,25 @@
-# $Id: PKGBUILD 32259 2009-03-29 22:10:04Z eric $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $Id: PKGBUILD 123749 2011-05-12 20:54:41Z andrea $
+# Maintainer:
+# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Jochem Kossen <j.kossen@home.nl>
pkgname=cd-discid
pkgver=0.9
-pkgrel=2
-pkgdesc="cd-discid is a backend utility to get CDDB discid information from a CD-ROM disc."
-arch=(i686 x86_64)
+pkgrel=3
+pkgdesc="A backend utility to get CDDB discid information from a CD-ROM disc"
+arch=('i686' 'x86_64')
url="http://lly.org/~rcw/cd-discid/"
license=('GPL')
depends=('glibc')
-source=(http://lly.org/~rcw/$pkgname/$pkgname\_$pkgver.orig.tar.gz)
+source=("http://lly.org/~rcw/$pkgname/${pkgname}_${pkgver}.orig.tar.gz")
md5sums=('64677b8b63d1db0db015043f5455171a')
build() {
- cd $srcdir/$pkgname-$pkgver
- make || return 1
- make DESTDIR=$pkgdir INSTALL=/bin/install install || return 1
+ cd "${srcdir}"/$pkgname-$pkgver
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+ make DESTDIR="${pkgdir}" INSTALL=/bin/install install
}