[arch-commits] Commit in perl-crypt-openssl-random/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Sat May 25 09:30:34 UTC 2019


    Date: Saturday, May 25, 2019 @ 09:30:34
  Author: foutrelis
Revision: 354122

archrelease: copy trunk to staging-x86_64

Added:
  perl-crypt-openssl-random/repos/staging-x86_64/
  perl-crypt-openssl-random/repos/staging-x86_64/PKGBUILD
    (from rev 354121, perl-crypt-openssl-random/trunk/PKGBUILD)

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

Copied: perl-crypt-openssl-random/repos/staging-x86_64/PKGBUILD (from rev 354121, perl-crypt-openssl-random/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-05-25 09:30:34 UTC (rev 354122)
@@ -0,0 +1,42 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+
+pkgname=perl-crypt-openssl-random
+pkgver=0.15
+pkgrel=3
+pkgdesc='Routines for accessing the OpenSSL pseudo-random number generator'
+arch=(x86_64)
+license=(PerlArtistic GPL)
+options=(!emptydirs)
+makedepends=('perl-crypt-openssl-guess>=0.11')
+depends=(perl openssl )
+url=https://metacpan.org/release/Crypt-OpenSSL-Random
+source=("http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/Crypt-OpenSSL-Random-$pkgver.tar.gz")
+md5sums=(bcde8d5a822c91376deda3c4f0c75fbe)
+sha512sums=(bba8ce86b97ce2d6271be503efff6e6e0ff60a797282a2b7cb9c6c0592b69cc43344f9738b4790e5fc165a7273ff01e35ada481cf8c4dfde38cb7ad741d97530)
+_ddir="Crypt-OpenSSL-Random-$pkgver"
+
+build() {
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
+  unset PERL5LIB PERL_MM_OPT
+  /usr/bin/perl Makefile.PL
+  make
+}
+
+check() {
+  cd "$srcdir/$_ddir"
+  export PERL_MM_USE_DEFAULT=1
+  unset PERL5LIB
+  make test
+}
+
+package() {
+  cd "$srcdir/$_ddir"
+  make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
+}
+
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list