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

Sergej Pupykin spupykin at nymeria.archlinux.org
Mon May 27 11:15:28 UTC 2013


    Date: Monday, May 27, 2013 @ 13:15:27
  Author: spupykin
Revision: 91769

archrelease: copy trunk to community-any

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

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

Copied: perl-math-random-isaac/repos/community-any/PKGBUILD (from rev 91768, perl-math-random-isaac/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2013-05-27 11:15:27 UTC (rev 91769)
@@ -0,0 +1,33 @@
+pkgname=perl-math-random-isaac
+pkgver=1.004
+pkgrel=1
+pkgdesc='Some basic numeric stats on vectors'
+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