[arch-commits] Commit in perl-math-random-isaac/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 12:19:55 UTC 2018
Date: Wednesday, August 1, 2018 @ 12:19:55
Author: foutrelis
Revision: 366743
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 366742, 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 366742, perl-math-random-isaac/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-08-01 12:19:55 UTC (rev 366743)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-math-random-isaac
+pkgver=1.004
+pkgrel=5
+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