aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-03-06 09:17:27 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-03-06 09:17:27 -0300
commit98996b547730a8d07969e33c0c7f1cb51c9ecee5 (patch)
tree5b0a5b881215881f6dee59f14212bf99e54ac44b
parent8ca1127086c4f1ffa8660caaa5e9e5174ea86690 (diff)
downloadaports-98996b547730a8d07969e33c0c7f1cb51c9ecee5.tar.gz
aports-98996b547730a8d07969e33c0c7f1cb51c9ecee5.tar.bz2
aports-98996b547730a8d07969e33c0c7f1cb51c9ecee5.tar.xz
main/perl-crypt-openssl-guess: upgrade to 0.12
-rw-r--r--main/perl-crypt-openssl-guess/APKBUILD41
1 files changed, 14 insertions, 27 deletions
diff --git a/main/perl-crypt-openssl-guess/APKBUILD b/main/perl-crypt-openssl-guess/APKBUILD
index 1a5362fe0a..18d456a20b 100644
--- a/main/perl-crypt-openssl-guess/APKBUILD
+++ b/main/perl-crypt-openssl-guess/APKBUILD
@@ -1,48 +1,35 @@
-# Automatically generated by apkbuild-cpan, template 2
-# Contributor:
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-crypt-openssl-guess
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Crypt-OpenSSL-Guess
-pkgver=0.11
-pkgrel=2
+pkgver=0.12
+pkgrel=0
pkgdesc="Guess OpenSSL include path"
url="https://metacpan.org/release/Crypt-OpenSSL-Guess/"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-cpancheckdepends=""
-depends="$cpandepends"
-makedepends="perl-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/A/AK/AKIYM/$_pkgreal-$pkgver.tar.gz"
+source="https://cpan.metacpan.org/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- default_prepare
-
- cd "$builddir"
+build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
}
-build() {
- cd "$builddir"
+check() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
- make
+ make test
}
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
-}
-
-sha512sums="cdae7f20a15d24842cf117bfba4f3bc0ec7d1066251e0480cbadd8f0aa28c9c9573905726fc1333ea9fbbb3769a67dbf28043de8487dcce27dab5d14a0848b09 Crypt-OpenSSL-Guess-0.11.tar.gz"
+sha512sums="2575abda7da800e24676b1614396f6b5ca36e1e89e1f19525689aba5dac673b9f90f26ca0f9f9046580b156645ed078f9e4ea9d77ea81ade10f404f2d004a5c4 Crypt-OpenSSL-Guess-0.12.tar.gz"