[arch-commits] Commit in cd-discid/trunk (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Thu May 12 20:54:41 UTC 2011


    Date: Thursday, May 12, 2011 @ 16:54:41
  Author: andrea
Revision: 123749

upgpkg: cd-discid 0.9-3
rebuild old package

Modified:
  cd-discid/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++++--------
 1 file changed, 13 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-05-12 20:50:53 UTC (rev 123748)
+++ PKGBUILD	2011-05-12 20:54:41 UTC (rev 123749)
@@ -1,20 +1,25 @@
 # $Id$
-# Maintainer: dorphell <dorphell at archlinux.org>
+# Maintainer:
+# Contributor: dorphell <dorphell at archlinux.org>
 # Contributor: Jochem Kossen <j.kossen at 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
+}




More information about the arch-commits mailing list