summaryrefslogtreecommitdiff
path: root/extra/perl-dbi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/perl-dbi/PKGBUILD')
-rw-r--r--extra/perl-dbi/PKGBUILD23
1 files changed, 8 insertions, 15 deletions
diff --git a/extra/perl-dbi/PKGBUILD b/extra/perl-dbi/PKGBUILD
index 2860395fc..c7a3a5a8e 100644
--- a/extra/perl-dbi/PKGBUILD
+++ b/extra/perl-dbi/PKGBUILD
@@ -1,37 +1,30 @@
-# $Id: PKGBUILD 186401 2013-05-26 09:25:07Z bluewind $
+# $Id: PKGBUILD 186584 2013-05-29 15:44:45Z eric $
# Maintainer:
-# Contributor: kevin <kevin@archlinux.org>
-# Contributor: Matt Thompson <mattt@defunct.ca>
pkgname=perl-dbi
-_realname=DBI
-pkgver=1.625
-pkgrel=2
+pkgver=1.627
+pkgrel=1
pkgdesc="Database independent interface for Perl"
arch=('i686' 'x86_64')
license=('GPL' 'PerlArtistic')
url="http://search.cpan.org/dist/${_realname}/"
depends=('perl')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/T/TI/TIMB/${_realname}-${pkgver}.tar.gz)
-md5sums=('b0521be412faff4ec8d511cd5f3f6a31')
+source=(http://www.cpan.org/authors/id/T/TI/TIMB/DBI-${pkgver}.tar.gz)
+md5sums=('aab49be51b0f4867a1894145b023d2c5')
build() {
- cd "${srcdir}/${_realname}-${pkgver}"
-
- # install module in vendor directories.
+ cd DBI-${pkgver}
perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd DBI-${pkgver}
make test
}
package() {
- cd "${srcdir}/${_realname}-${pkgver}"
+ cd DBI-${pkgver}
make install DESTDIR="${pkgdir}"
}
-
-# vim: ts=2 sw=2 et ft=sh