[arch-commits] CVS update of extra/lib/perl-dbd-sqlite (PKGBUILD)
Kevin Piche
kevin at archlinux.org
Sun Jan 13 03:47:40 UTC 2008
Date: Saturday, January 12, 2008 @ 22:47:40
Author: kevin
Path: /home/cvs-extra/extra/lib/perl-dbd-sqlite
Modified: PKGBUILD (1.5 -> 1.6)
upgpkg: perl-dbd-sqlite 1.14-1
Updated for new perl policy
----------+
PKGBUILD | 28 +++++++++++++---------------
1 file changed, 13 insertions(+), 15 deletions(-)
Index: extra/lib/perl-dbd-sqlite/PKGBUILD
diff -u extra/lib/perl-dbd-sqlite/PKGBUILD:1.5 extra/lib/perl-dbd-sqlite/PKGBUILD:1.6
--- extra/lib/perl-dbd-sqlite/PKGBUILD:1.5 Fri Oct 5 11:12:03 2007
+++ extra/lib/perl-dbd-sqlite/PKGBUILD Sat Jan 12 22:47:40 2008
@@ -1,27 +1,25 @@
# Maintainer: Tom Killian <tomk at runbox.com>
# Contributor: Generated by the CPANPLUS::Dist::Pacman plugin
+
pkgname=perl-dbd-sqlite
-pkgver=1.13
-pkgrel=4
+_realname=DBD-SQLite
+pkgver=1.14
+pkgrel=1
pkgdesc="Self contained RDBMS in a DBI driver"
arch=(i686 x86_64)
license=('PerlArtistic')
-url="http://search.cpan.org/dist/DBD-SQLite"
-depends=('perl-dbi' 'sqlite3')
+url="http://search.cpan.org/dist/${_realname}/"
+depends=('perl-dbi' 'sqlite3' 'perl>=5.10.0')
options=(!emptydirs)
-source=(http://www.cpan.org/authors/id/M/MS/MSERGEANT/DBD-SQLite-$pkgver.tar.gz)
-md5sums=('d33e584f435d464a55946f58d4d4b9e2')
+source=(http://www.cpan.org/authors/id/M/MS/MSERGEANT/${_realname}-$pkgver.tar.gz)
+md5sums=('78a89cc8fd46bb2a5d537433dcccc8e6')
build() {
- cd $startdir/src/DBD-SQLite-$pkgver
- # Force module installation to "current" perl directories.
- eval `perl -V:archname`
- PERL_MM_USE_DEFAULT=1 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 install DESTDIR=${startdir}/pkg
+ cd $startdir/src/${_realname}-$pkgver
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make install DESTDIR=${startdir}/pkg || return 1
# remove perllocal.pod and .packlist
find ${startdir}/pkg -name perllocal.pod -delete
More information about the arch-commits
mailing list