archrelease: copy trunk to extra-x86_64
[arch-packages.git] / perl-dbi / trunk / PKGBUILD
blob70c6e6f5d54206a9939f42c06377689e64133686
1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 pkgname=perl-dbi
4 pkgver=1.643
5 pkgrel=4
6 pkgdesc="Database independent interface for Perl"
7 arch=('x86_64')
8 url="http://search.cpan.org/dist/DBI/"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl')
11 checkdepends=('perl-test-pod' 'perl-test-pod-coverage')
12 options=('!emptydirs')
13 source=("https://www.cpan.org/authors/id/T/TI/TIMB/DBI-$pkgver.tar.gz")
14 sha512sums=('03812f3eb1e43c8290dadb8cb14bbced9ec6e237228ea2a2ba91f22e52143906a91a7e82945dab30b1d1b9fc925073721111adafd9a09fac070808ab88f908b8')
16 build() {
17   cd DBI-$pkgver
18   perl Makefile.PL INSTALLDIRS=vendor
19   make
22 check() {
23   cd DBI-$pkgver
24   make test
27 package() {
28   cd DBI-$pkgver
29   make DESTDIR="$pkgdir" install