updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / perl-crypt-rijndael / PKGBUILD
blob4357b6650e9c7aad119de28591b5cc43534804d8
1 # Contributor: Justin Davis <jrcd83@gmail.com>
2 # Generator  : CPANPLUS::Dist::Arch 1.09
3 pkgname='perl-crypt-rijndael'
4 pkgver='1.09'
5 pkgrel='1'
6 pkgdesc="AES/Rijndael Encryption Module"
7 arch=('i686' 'x86_64')
8 license=('PerlArtistic' 'GPL')
9 options=('!emptydirs')
10 depends=('perl')
11 makedepends=('perl-test-manifest>=1.14')
12 url='http://search.cpan.org/dist/Crypt-Rijndael'
13 source=('http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Crypt-Rijndael-1.09.tar.gz')
14 md5sums=('6a2678fbd7a0c9ed277d4b758a530b1c')
16 build() {
17   PERL=/usr/bin/perl
18   DIST_DIR="${srcdir}/Crypt-Rijndael-1.09"
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