[arch-commits] Commit in perl-math-random-isaac/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun May 29 10:20:25 UTC 2022
Date: Sunday, May 29, 2022 @ 10:20:24
Author: felixonmars
Revision: 1214163
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 1214162, 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 1214162, perl-math-random-isaac/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2022-05-29 10:20:24 UTC (rev 1214163)
@@ -0,0 +1,35 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-math-random-isaac
+pkgver=1.004
+pkgrel=9
+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