Commit 164f5298 authored by J0WI's avatar J0WI
Browse files

main/perl-crypt-openssl-random: update url

parent 50cd2c0a
...@@ -2,14 +2,13 @@ ...@@ -2,14 +2,13 @@
pkgname=perl-crypt-openssl-random pkgname=perl-crypt-openssl-random
_pkgname=Crypt-OpenSSL-Random _pkgname=Crypt-OpenSSL-Random
pkgver=0.15 pkgver=0.15
pkgrel=5 pkgrel=6
pkgdesc="RSA encoding and decoding, using the openSSL libraries" pkgdesc="RSA encoding and decoding, using the openSSL libraries"
url="http://search.cpan.org/~iroberts/Crypt-OpenSSL-Random-0.04/" url="https://metacpan.org/pod/Crypt::OpenSSL::Random"
arch="all" arch="all"
license="Artistic-1.0 GPL+" license="Artistic-1.0 GPL+"
depends="perl" depends="perl"
makedepends="perl-dev openssl-dev perl-crypt-openssl-guess" makedepends="perl-dev openssl-dev perl-crypt-openssl-guess"
install=
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/$_pkgname-$pkgver.tar.gz" source="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver builddir="$srcdir"/$_pkgname-$pkgver
...@@ -17,24 +16,20 @@ builddir="$srcdir"/$_pkgname-$pkgver ...@@ -17,24 +16,20 @@ builddir="$srcdir"/$_pkgname-$pkgver
prepare() { prepare() {
default_prepare default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
} }
build() { build() {
cd "$builddir"
make make
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
} }
check() { check() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test make test
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment