Date: Friday, March 10, 2017 @ 15:10:03 Author: bluewind Revision: 290490
archrelease: copy trunk to staging-i686, staging-x86_64 Added: perl-crypt-openssl-random/repos/staging-i686/ perl-crypt-openssl-random/repos/staging-i686/PKGBUILD (from rev 290489, perl-crypt-openssl-random/trunk/PKGBUILD) perl-crypt-openssl-random/repos/staging-x86_64/ perl-crypt-openssl-random/repos/staging-x86_64/PKGBUILD (from rev 290489, perl-crypt-openssl-random/trunk/PKGBUILD) -------------------------+ staging-i686/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++ staging-x86_64/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) Copied: perl-crypt-openssl-random/repos/staging-i686/PKGBUILD (from rev 290489, perl-crypt-openssl-random/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2017-03-10 15:10:03 UTC (rev 290490) @@ -0,0 +1,48 @@ +# Maintainer: Florian Pritz <bluew...@xinu.at> + +pkgname=perl-crypt-openssl-random +pkgver=0.11 +pkgrel=3 +pkgdesc='Routines for accessing the OpenSSL pseudo-random number generator' +arch=(i686 x86_64) +license=(PerlArtistic GPL) +options=(!emptydirs) +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=('5d71337503e0356ce1ce1481504e5885') +sha512sums=('c579cb2b586dbabd697a9c7c989a360ed4bd8e9b28d7c93ad99a86bd9bd680a89c3fa77f6315a1105fd41bfdfa18087ca4cd51fb320faad7a6be9b90e3e69b95') +_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" +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: Copied: perl-crypt-openssl-random/repos/staging-x86_64/PKGBUILD (from rev 290489, perl-crypt-openssl-random/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2017-03-10 15:10:03 UTC (rev 290490) @@ -0,0 +1,48 @@ +# Maintainer: Florian Pritz <bluew...@xinu.at> + +pkgname=perl-crypt-openssl-random +pkgver=0.11 +pkgrel=3 +pkgdesc='Routines for accessing the OpenSSL pseudo-random number generator' +arch=(i686 x86_64) +license=(PerlArtistic GPL) +options=(!emptydirs) +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=('5d71337503e0356ce1ce1481504e5885') +sha512sums=('c579cb2b586dbabd697a9c7c989a360ed4bd8e9b28d7c93ad99a86bd9bd680a89c3fa77f6315a1105fd41bfdfa18087ca4cd51fb320faad7a6be9b90e3e69b95') +_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" +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: