[arch-commits] CVS update of extra/multimedia/cddb_get (PKGBUILD)
Kevin Piche
kevin at archlinux.org
Wed Jan 16 04:35:51 UTC 2008
Date: Tuesday, January 15, 2008 @ 23:35:51
Author: kevin
Path: /home/cvs-extra/extra/multimedia/cddb_get
Modified: PKGBUILD (1.15 -> 1.16)
upgpkg: cddb_get 2.27-3
Updated for new perl policy
----------+
PKGBUILD | 25 +++++++++++--------------
1 file changed, 11 insertions(+), 14 deletions(-)
Index: extra/multimedia/cddb_get/PKGBUILD
diff -u extra/multimedia/cddb_get/PKGBUILD:1.15 extra/multimedia/cddb_get/PKGBUILD:1.16
--- extra/multimedia/cddb_get/PKGBUILD:1.15 Wed Dec 5 21:23:09 2007
+++ extra/multimedia/cddb_get/PKGBUILD Tue Jan 15 23:35:51 2008
@@ -1,30 +1,27 @@
-# $Id: PKGBUILD,v 1.15 2007/12/06 02:23:09 eric Exp $
-#contributor Sarah Hay <sarahhay at mb.sympatico.ca>
+# $Id: PKGBUILD,v 1.16 2008/01/16 04:35:51 kevin Exp $
+# Contributor Sarah Hay <sarahhay at mb.sympatico.ca>
# Maintainer: dorphell <dorphell at archlinux.org>
pkgname=cddb_get
+_realname=CDDB_get
pkgver=2.27
-pkgrel=2
+pkgrel=3
pkgdesc="This module/script gets the CDDB info for an audio cd."
license=('GPL' 'PerlArtistic')
arch=("i686" "x86_64")
-makedepends=('perl')
+depends=('perl>=5.10.0')
options=(!emptydirs)
-source=(http://armin.emx.at/cddb/CDDB_get-$pkgver.tar.gz)
+source=(http://armin.emx.at/cddb/${_realname}-${pkgver}.tar.gz)
md5sums=('405a3704ad5db45f117cc7cc5bd1ce7c')
url="http://armin.emx.at/cddb/"
sha1sums=('cec39851678bbb1fdd76f2cbd170628baf4971e6')
build() {
- cd $startdir/src/CDDB_get-$pkgver
- # Force module installation to "current" perl directories.
- eval `perl -V:archname`
- perl Makefile.PL \
- INSTALLARCHLIB=/usr/lib/perl5/current/${archname} \
- INSTALLSITELIB=/usr/lib/perl5/site_perl/current \
- INSTALLSITEARCH=/usr/lib/perl5/site_perl/current/${archname}
- make || return 1
- make DESTDIR=$startdir/pkg install
+ cd ${startdir}/src/${_realname}-${pkgver}
+ # install module in vendor directories.
+ perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
# remove perllocal.pod and .packlist
find ${startdir}/pkg -name perllocal.pod -delete
More information about the arch-commits
mailing list