# $Id: PKGBUILD 186584 2013-05-29 15:44:45Z eric $ # Maintainer: pkgname=perl-dbi pkgver=1.627 pkgrel=1 pkgdesc="Database independent interface for Perl" arch=('i686' 'x86_64' 'mips64el') license=('GPL' 'PerlArtistic') url="http://search.cpan.org/dist/${_realname}/" depends=('perl') options=('!emptydirs') source=(http://www.cpan.org/authors/id/T/TI/TIMB/DBI-${pkgver}.tar.gz) md5sums=('aab49be51b0f4867a1894145b023d2c5') build() { cd DBI-${pkgver} perl Makefile.PL INSTALLDIRS=vendor make } check() { cd DBI-${pkgver} make test } package() { cd DBI-${pkgver} make install DESTDIR="${pkgdir}" }