updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / perl-digest-simd / PKGBUILD
blobe993afa3835a1e2d2ee78fe155c41f8609593875
1 # Contributor: Anonymous
2 # Generator  : CPANPLUS::Dist::Arch 1.11
4 pkgname='perl-digest-simd'
5 pkgver='0.04'
6 pkgrel='1'
7 pkgdesc="Perl interface to the SIMD digest algorithm"
8 arch=('i686' 'x86_64')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl')
12 makedepends=()
13 url='http://search.cpan.org/dist/Digest-SIMD'
14 source=('http://search.cpan.org/CPAN/authors/id/G/GR/GRAY/Digest-SIMD-0.04.tar.gz')
15 md5sums=('704a5e7d857e7005c493ce73d898357f')
17 build() {
18   PERL=/usr/bin/perl
19   DIST_DIR="${srcdir}/Digest-SIMD-0.04"
20   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
21     PERL_AUTOINSTALL=--skipdeps                            \
22     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
23     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
24     MODULEBUILDRC=/dev/null
26   cd "$DIST_DIR"
27   $PERL Makefile.PL
28   make
29   make test
30   make install
31   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
34 # Local Variables:
35 # mode: shell-script
36 # sh-basic-offset: 2
37 # End:
38 # vim:set ts=2 sw=2 et: