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

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 11:48:39 UTC 2019


    Date: Saturday, May 25, 2019 @ 11:48:38
  Author: foutrelis
Revision: 470497

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 470495, perl-math-random-isaac/trunk/PKGBUILD)

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

Copied: perl-math-random-isaac/repos/community-staging-any/PKGBUILD (from rev 470495, perl-math-random-isaac/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-05-25 11:48:38 UTC (rev 470497)
@@ -0,0 +1,35 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-math-random-isaac
+pkgver=1.004
+pkgrel=6
+pkgdesc='Perl interface to the ISAAC PRNG algorithm'
+arch=('any')
+url='https://search.cpan.org/dist/Math-Random-ISAAC/'
+license=('GPL' 'PerlArtistic')
+depends=('perl')
+makedepends=('perl-test-nowarnings')
+options=(!emptydirs)
+source=("https://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