diff options
author | Britney Fransen <brfransen@gmail.com> | 2011-08-05 00:37:15 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2011-08-05 00:37:15 (GMT) |
commit | 70ba151b467269379b2d952ec3b0d1462839b621 (patch) | |
tree | 59ac66311d93fda73f23ac17fa1cc4c5fb930e6f | |
parent | 6cd1392031d07af98179dfcb300ed89423e77f15 (diff) | |
download | linhes_pkgbuild-70ba151b467269379b2d952ec3b0d1462839b621.zip linhes_pkgbuild-70ba151b467269379b2d952ec3b0d1462839b621.tar.gz linhes_pkgbuild-70ba151b467269379b2d952ec3b0d1462839b621.tar.bz2 |
perl-dbi: Bump to latest.
-rw-r--r-- | abs/core/perl_modules/perl-dbi/PKGBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/abs/core/perl_modules/perl-dbi/PKGBUILD b/abs/core/perl_modules/perl-dbi/PKGBUILD index c6c5599..8bc53e3 100644 --- a/abs/core/perl_modules/perl-dbi/PKGBUILD +++ b/abs/core/perl_modules/perl-dbi/PKGBUILD @@ -1,28 +1,32 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: eric <eric@archlinux.org> +# $Id$ +# Maintainer: kevin <kevin@archlinux.org> # Contributor: Matt Thompson <mattt@defunct.ca> + pkgname=perl-dbi _realname=DBI -pkgver=1.601 -pkgrel=1 +pkgver=1.616 +pkgrel=2 pkgdesc="Database independent interface for Perl" arch=(i686 x86_64) license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" -depends=('perl>=5.10.0') +depends=('perl>=5.12.1') options=(!emptydirs) source=(http://www.cpan.org/authors/id/T/TI/TIMB/${_realname}-${pkgver}.tar.gz) -md5sums=('d80677bd8113ec8cb0438b8703f3c418') +md5sums=('799313e54a693beb635b47918458f7c4') build() { - cd ${startdir}/src/${_realname}-${pkgver} + cd "${srcdir}/${_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 + perl Makefile.PL INSTALLDIRS=vendor + make + make test +} - # remove perllocal.pod and .packlist - find ${startdir}/pkg -name perllocal.pod -delete - find ${startdir}/pkg -name .packlist -delete +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" } + # vim: ts=2 sw=2 et ft=sh |