diff options
author | root <root@rshg047.dnsready.net> | 2011-05-24 22:48:50 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-24 22:48:50 +0000 |
commit | 363d953113a327863013a9422c8212654a86a209 (patch) | |
tree | 01f2b43d3e98433702f9c6ba92ab45bfa151888a /community-staging/perl-berkeleydb/PKGBUILD | |
parent | 87e20a64534e8f58ca4a4f84000b629e48569a98 (diff) |
Tue May 24 22:48:50 UTC 2011
Diffstat (limited to 'community-staging/perl-berkeleydb/PKGBUILD')
-rw-r--r-- | community-staging/perl-berkeleydb/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/community-staging/perl-berkeleydb/PKGBUILD b/community-staging/perl-berkeleydb/PKGBUILD new file mode 100644 index 000000000..2476eaf71 --- /dev/null +++ b/community-staging/perl-berkeleydb/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 47458 2011-05-23 15:36:16Z tdziedzic $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Charles Mauch <cmauch@gmail.com> +# Contributor: Francois Charette <firmicus@gmx.net> + +pkgname=perl-berkeleydb +pkgver=0.43 +pkgrel=5 +pkgdesc="Interface to Berkeley DB version 2, 3 or 4" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/BerkeleyDB/" +license=('GPL' 'PerlArtistic') +depends=('perl' 'db') +options=('!emptydirs') +source=(http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/BerkeleyDB-$pkgver.tar.gz) +md5sums=('3d0cf0651ed8cd3fc36e328d5924a1e9') + +build() { +_dbver=`pacman -Q db | cut -d\ -f2 | cut -d- -f1` +depends=('perl' "db=$_dbver") + + cd $srcdir/BerkeleyDB-$pkgver + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make + make pure_install doc_install DESTDIR=$pkgdir + find $pkgdir -name '.packlist' -delete + find $pkgdir -name '*.pod' -delete +} |