[arch-commits] Commit in perl-crypt-openssl-dsa/repos (4 files)
Felix Yan
fyan at archlinux.org
Tue Jun 2 15:10:15 UTC 2015
Date: Tuesday, June 2, 2015 @ 17:10:15
Author: fyan
Revision: 134556
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
perl-crypt-openssl-dsa/repos/community-staging-i686/
perl-crypt-openssl-dsa/repos/community-staging-i686/PKGBUILD
(from rev 134555, perl-crypt-openssl-dsa/trunk/PKGBUILD)
perl-crypt-openssl-dsa/repos/community-staging-x86_64/
perl-crypt-openssl-dsa/repos/community-staging-x86_64/PKGBUILD
(from rev 134555, perl-crypt-openssl-dsa/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 53 ++++++++++++++++++++++++++++++++++++
2 files changed, 106 insertions(+)
Copied: perl-crypt-openssl-dsa/repos/community-staging-i686/PKGBUILD (from rev 134555, perl-crypt-openssl-dsa/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-06-02 15:10:15 UTC (rev 134556)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
+# Generator : CPANPLUS::Dist::Arch 1.25
+
+pkgname=perl-crypt-openssl-dsa
+pkgver=0.15
+pkgrel=2
+pkgdesc="Digital Signature Algorithm using OpenSSL"
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('openssl')
+url='http://search.cpan.org/dist/Crypt-OpenSSL-DSA'
+source=("http://search.cpan.org/CPAN/authors/id/K/KM/KMX/Crypt-OpenSSL-DSA-$pkgver.tar.gz")
+sha512sums=('bbc9d3eb487fca1c97a5b843e6d109da0559582ef9063daf9272ff748a5443421a8c81532e522280eaf9434cf79cd9856b6051fcf0ae8ad39ead2dc0f66842dc')
+_distdir="Crypt-OpenSSL-DSA-$pkgver"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+# 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;
+}
+
+# vim:set ts=2 sw=2 et:
Copied: perl-crypt-openssl-dsa/repos/community-staging-x86_64/PKGBUILD (from rev 134555, perl-crypt-openssl-dsa/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-06-02 15:10:15 UTC (rev 134556)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
+# Generator : CPANPLUS::Dist::Arch 1.25
+
+pkgname=perl-crypt-openssl-dsa
+pkgver=0.15
+pkgrel=2
+pkgdesc="Digital Signature Algorithm using OpenSSL"
+arch=('i686' 'x86_64')
+license=('PerlArtistic' 'GPL')
+options=('!emptydirs')
+depends=('openssl')
+url='http://search.cpan.org/dist/Crypt-OpenSSL-DSA'
+source=("http://search.cpan.org/CPAN/authors/id/K/KM/KMX/Crypt-OpenSSL-DSA-$pkgver.tar.gz")
+sha512sums=('bbc9d3eb487fca1c97a5b843e6d109da0559582ef9063daf9272ff748a5443421a8c81532e522280eaf9434cf79cd9856b6051fcf0ae8ad39ead2dc0f66842dc')
+_distdir="Crypt-OpenSSL-DSA-$pkgver"
+
+build() {
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
+# 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;
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list