main/perl-mail-dkim: upgrade to 1.20240619

also, upgrade to apkbuild-cpan template 4
This commit is contained in:
Celeste 2024-06-19 05:31:26 +00:00 committed by Leonardo Arena
parent a168f7ea90
commit d684c58451

View File

@ -1,10 +1,10 @@
# Automatically generated by apkbuild-cpan, template 3
# Automatically generated by apkbuild-cpan, template 4
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-mail-dkim
pkgver=1.20240619
pkgrel=0
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Mail-DKIM
pkgver=1.20240124
pkgrel=0
pkgdesc="Signs/verifies Internet mail with DKIM/DomainKey signatures"
url="https://metacpan.org/release/Mail-DKIM/"
arch="noarch"
@ -17,7 +17,10 @@ builddir="$srcdir/$_pkgreal-$pkgver"
build() {
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 \
NO_PACKLIST=1 \
NO_PERLLOCAL=1
make
}
@ -28,9 +31,8 @@ check() {
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="
5453bca0e27906193084f0faf94b06c3a01cc835d4d226a0281793ea5e7105b4907090f25769dc5f51b6b816eacb5abceb56a046716a80a0288f3332c655c1c8 Mail-DKIM-1.20240124.tar.gz
7f401b69e43e0023d745dab90e6e179c1103ad08e151642a3eb031edb92a7d092388f11d537c8ece1dd1b2cc0e31bb40222c82c1ac0f62d86be211e9a467f2dc Mail-DKIM-1.20240619.tar.gz
"