upgpkg: ufw 0.36.2-1
[ArchLinux/community.git] / perl-math-random-isaac / trunk / PKGBUILD
blobe50a6c2ee51e05d828a935ef46e2966b0ecc2993
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 pkgname=perl-math-random-isaac
4 pkgver=1.004
5 pkgrel=9
6 pkgdesc='Perl interface to the ISAAC PRNG algorithm'
7 arch=('any')
8 url='https://search.cpan.org/dist/Math-Random-ISAAC/'
9 license=('GPL' 'PerlArtistic')
10 depends=('perl')
11 makedepends=('perl-test-nowarnings')
12 options=(!emptydirs)
13 source=("https://search.cpan.org/CPAN/authors/id/J/JA/JAWNSY/Math-Random-ISAAC-$pkgver.tar.gz")
14 sha256sums=('2773f02fbf207e9745e76a037df08bf5a8cc987ed23c57040ce7f7b1561f2b7c')
16 build() {
17   cd "$srcdir/Math-Random-ISAAC-$pkgver"
18   export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
19     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
20     PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
21     MODULEBUILDRC=/dev/null
22   perl Makefile.PL
23   make
26 check() {
27   cd "$srcdir/Math-Random-ISAAC-$pkgver"
28   make test
31 package() {
32   cd "$srcdir/Math-Random-ISAAC-$pkgver"
33   make install
34   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete