aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-05-18 02:49:48 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-05-18 05:58:44 +0000
commit56587f92e74b2ee47405a4ef6d5e2f36d65d4703 (patch)
tree05f35adfa7c2c7c242deedcd27138af187721656
parent4707a8276773e0650c893bca1fcde53cabbc8573 (diff)
downloadaports-56587f92e74b2ee47405a4ef6d5e2f36d65d4703.tar.gz
aports-56587f92e74b2ee47405a4ef6d5e2f36d65d4703.tar.bz2
aports-56587f92e74b2ee47405a4ef6d5e2f36d65d4703.tar.xz
community/perl-crypt-cbc: upgrade to 3.04
-rw-r--r--community/perl-crypt-cbc/APKBUILD40
1 files changed, 16 insertions, 24 deletions
diff --git a/community/perl-crypt-cbc/APKBUILD b/community/perl-crypt-cbc/APKBUILD
index 3c8db2dae5..29ed4c8d23 100644
--- a/community/perl-crypt-cbc/APKBUILD
+++ b/community/perl-crypt-cbc/APKBUILD
@@ -1,46 +1,38 @@
-# Automatically generated by apkbuild-cpan, template 1
+# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-crypt-cbc
+#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Crypt-CBC
-pkgver=3.03
+pkgver=3.04
pkgrel=0
-pkgdesc="Encrypt Data with Cipher Block Chaining Mode"
+pkgdesc="Perl module for Crypt-CBC"
url="https://metacpan.org/release/Crypt-CBC/"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends=""
-cpanmakedepends=""
-depends="$cpandepends perl-cryptx perl-crypt-pbkdf2
-perl-crypt-rijndael perl-crypt-des perl-crypt-cast5
- perl-crypt-openssl-aes perl-crypt-eksblowfish"
-makedepends="perl-dev $cpanmakedepends"
-subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/L/LD/LDS/$_pkgreal-$pkgver.tar.gz"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-cryptx perl-crypt-pbkdf2"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/L/LD/LDS/Crypt-CBC-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
-prepare() {
- cd "$builddir"
- export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
-}
-
build() {
- 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
make
}
check() {
- cd "$builddir"
- make test
+ 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
}
-sha512sums="c1c55dd5fae83d45893f47319323f6d0ad8295ec480b8ab034beeb33bb7d16f26bbedaeef6613a3495849f5034e7502b01c88ab75dd4d69234151d3b674929e6 Crypt-CBC-3.03.tar.gz"
+sha512sums="
+e1d972d2e7865b9799b289d3633342dae6b942295e3a63ad9edaf6c25c30d6691366a6a27896b39a1ef1a25ad83ebb25545c71e31b04a978377da4db5edf2f25 Crypt-CBC-3.04.tar.gz
+"