diff options
author | root <root@rshg054.dnsready.net> | 2012-05-28 17:43:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-05-28 17:43:57 +0000 |
commit | 483f7de4ab6a706517279a24d2efc969f4a1996d (patch) | |
tree | 128a7513d3e42c4d8812b5fd11a4afb116399762 /testing/perl-dbi/PKGBUILD | |
parent | 89dd7b5f30d48c708092a71b1c8285090fe91505 (diff) |
Mon May 28 17:43:57 UTC 2012
Diffstat (limited to 'testing/perl-dbi/PKGBUILD')
-rw-r--r-- | testing/perl-dbi/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/perl-dbi/PKGBUILD b/testing/perl-dbi/PKGBUILD new file mode 100644 index 000000000..c50e67eea --- /dev/null +++ b/testing/perl-dbi/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 159881 2012-05-27 07:43:09Z bluewind $ +# Maintainer: kevin <kevin@archlinux.org> +# Contributor: Matt Thompson <mattt@defunct.ca> + +pkgname=perl-dbi +_realname=DBI +pkgver=1.618 +pkgrel=2 +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=('5ad29b56f7457f22bd1ca1c871b30719') + +build() { + cd "${srcdir}/${_realname}-${pkgver}" + + # install module in vendor directories. + perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "${srcdir}/${_realname}-${pkgver}" + make test +} + +package() { + cd "${srcdir}/${_realname}-${pkgver}" + make install DESTDIR="${pkgdir}" +} + +# vim: ts=2 sw=2 et ft=sh |