1 # Contributor: Justin Davis <jrcd83@gmail.com>
2 pkgname='perl-tokyocabinet'
3 _distname='tokyocabinet-perl'
5 _distfile="${_distname}-${pkgver}.tar.gz"
7 pkgdesc="Perl binding for TokyoCabinet DBM"
10 options=('!emptydirs')
11 depends=('perl>=5.10' 'tokyocabinet')
12 url='http://fallabs.com/tokyocabinet'
13 source=("http://fallabs.com/tokyocabinet/perlpkg/${_distfile}")
14 md5sums=('e83e45e6a209dd81530b57d9414fd6ab')
17 DIST_DIR="${srcdir}/${_distname}-${pkgver}"
18 export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
19 PERL_AUTOINSTALL=--skipdeps \
20 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
21 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
22 MODULEBUILDRC=/dev/null
31 # Also remove install test scripts from package...
32 find "$pkgdir" -name .packlist -o -name perllocal.pod -o -name '*.pl' \