Commit 164f5298 authored by J0WI's avatar J0WI

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

parent 50cd2c0a
......@@ -2,14 +2,13 @@
pkgname=perl-crypt-openssl-random
_pkgname=Crypt-OpenSSL-Random
pkgver=0.15
pkgrel=5
pkgrel=6
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"
license="Artistic-1.0 GPL+"
depends="perl"
makedepends="perl-dev openssl-dev perl-crypt-openssl-guess"
install=
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
......@@ -17,24 +16,20 @@ builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
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