Commit 8fcf325b authored by J0WI's avatar J0WI Committed by Leo

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

parent 164f5298
......@@ -3,14 +3,13 @@
pkgname=perl-crypt-openssl-rsa
_pkgname=Crypt-OpenSSL-RSA
pkgver=0.31
pkgrel=5
pkgrel=6
pkgdesc="RSA encoding and decoding, using the openSSL libraries"
url="http://search.cpan.org/~perler/"
url="https://metacpan.org/pod/Crypt::OpenSSL::RSA"
arch="all"
license="Perl Artistic GPL"
depends="perl perl-crypt-openssl-random perl-crypt-openssl-guess"
makedepends="perl-dev openssl-dev"
install=
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TO/TODDR/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
......@@ -22,19 +21,16 @@ prepare() {
}
build() {
cd $builddir
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}
package() {
cd $builddir
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
......
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