updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / perl-b-keywords / PKGBUILD
blobeee3dadffa45d11a2cab9cb194c4e95b2ee27b0a
1 # Contributor: Justin Davis <jrcd83@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 1.07
3 pkgname='perl-b-keywords'
4 pkgver='1.10'
5 pkgrel='1'
6 pkgdesc="Lists of reserved barewords and symbol names"
7 arch=('any')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 makedepends=()
12 url='http://search.cpan.org/dist/B-Keywords'
13 source=('http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/B-Keywords-1.10.tar.gz')
14 md5sums=('3f4e7319083a348972c38a10b944a7a1')
16 build() {
17   PERL=/usr/bin/perl
18   DIST_DIR="${srcdir}/B-Keywords-1.10"
19   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
20     PERL_AUTOINSTALL=--skipdeps                            \
21     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
22     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
23     MODULEBUILDRC=/dev/null
25   { cd "$DIST_DIR" &&
26     $PERL Makefile.PL &&
27     make &&
28     make test &&
29     make install;
30   } || return 1;
32   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete