[arch-commits] Commit in perl-math-random-isaac/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Aug 26 11:15:13 UTC 2017


    Date: Saturday, August 26, 2017 @ 11:15:13
  Author: foutrelis
Revision: 253791

archrelease: copy trunk to community-staging-any

Added:
  perl-math-random-isaac/repos/community-staging-any/
  perl-math-random-isaac/repos/community-staging-any/PKGBUILD
    (from rev 253790, perl-math-random-isaac/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: perl-math-random-isaac/repos/community-staging-any/PKGBUILD (from rev 253790, perl-math-random-isaac/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-08-26 11:15:13 UTC (rev 253791)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-math-random-isaac
+pkgver=1.004
+pkgrel=4
+pkgdesc='Perl interface to the ISAAC PRNG algorithm'
+arch=('any')
+url='http://search.cpan.org/dist/Math-Random-ISAAC/'
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+makedepends=('perl-test-nowarnings')
+options=(!emptydirs)
+source=("http://search.cpan.org/CPAN/authors/id/J/JA/JAWNSY/Math-Random-ISAAC-$pkgver.tar.gz")
+md5sums=('46110b9a7bb96fe641bdfaf35bdafec5')
+
+build() {
+  cd "$srcdir/Math-Random-ISAAC-$pkgver"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
+    PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$pkgdir"'" \
+    PERL_MB_OPT="--installdirs vendor --destdir '"$pkgdir"'" \
+    MODULEBUILDRC=/dev/null
+  perl Makefile.PL
+  make
+}
+
+check() {
+  cd "$srcdir/Math-Random-ISAAC-$pkgver"
+  make test
+}
+
+package() {
+  cd "$srcdir/Math-Random-ISAAC-$pkgver"
+  make install
+  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+}



More information about the arch-commits mailing list