diff options
Diffstat (limited to 'main/perl-crypt-openssl-random/APKBUILD')
-rw-r--r-- | main/perl-crypt-openssl-random/APKBUILD | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/main/perl-crypt-openssl-random/APKBUILD b/main/perl-crypt-openssl-random/APKBUILD index 0d907f4ddd..2e1ff8f41f 100644 --- a/main/perl-crypt-openssl-random/APKBUILD +++ b/main/perl-crypt-openssl-random/APKBUILD @@ -1,9 +1,8 @@ -# Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=perl-crypt-openssl-random _realname=Crypt-OpenSSL-Random -pkgver=0.04 -pkgrel=6 +pkgver=0.06 +pkgrel=0 pkgdesc="RSA encoding and decoding, using the openSSL libraries" url="http://search.cpan.org/~iroberts/Crypt-OpenSSL-Random-0.04/" arch="all" @@ -12,16 +11,23 @@ depends="perl" makedepends="perl-dev openssl-dev" install= subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/I/IR/IROBERTS/$_realname-$pkgver.tar.gz" +source="http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/$_realname-$pkgver.tar.gz" -build() { - cd "$srcdir/$_realname-$pkgver" +_builddir="$srcdir"/$_realname-$pkgver +build() { + cd "$_builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 +} + +package() { + cd "$_builddir" make DESTDIR="$pkgdir" install # creates file collision among perl modules find "$pkgdir" -name perllocal.pod -delete } -md5sums="c56ac5dbdd46122eb9b8da59613b7b0a Crypt-OpenSSL-Random-0.04.tar.gz" +md5sums="3771d3417f658d28f8682adc1e087136 Crypt-OpenSSL-Random-0.06.tar.gz" +sha256sums="efb4dfeec7688eb7e6a4a7d070cceed4ef7d74732c6f8ce123ae75490094d083 Crypt-OpenSSL-Random-0.06.tar.gz" +sha512sums="e646639055404ac9d12a6d2fd3501405b5379cef660b74efa1a28ffdb3463873c42906f33647af68739a834b6206dbee9cedb2c4792563f6987afe6ae01416a5 Crypt-OpenSSL-Random-0.06.tar.gz" |