diff options
author | Celeste <20312-Celeste@users.gitlab.alpinelinux.org> | 2024-04-30 02:20:56 +0000 |
---|---|---|
committer | omni <omni+alpine@hack.org> | 2024-05-05 10:55:59 +0000 |
commit | b54be696a50ebbc0b15f434718d875fe2e37da64 (patch) | |
tree | 08f35a51c49ce8cb7d4c5307da881b14370aa0e7 | |
parent | a4078073f639abcaa524290650dd191e2f232361 (diff) | |
download | aports-b54be696a50ebbc0b15f434718d875fe2e37da64.zip |
main/perl-gd: upgrade to 2.81
also, upgrade to apkbuild-cpan template 4
-rw-r--r-- | main/perl-gd/APKBUILD | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/main/perl-gd/APKBUILD b/main/perl-gd/APKBUILD index 246e383e6ee..0229fe5d0aa 100644 --- a/main/perl-gd/APKBUILD +++ b/main/perl-gd/APKBUILD @@ -1,12 +1,12 @@ -# Automatically generated by apkbuild-cpan, template 3 +# Automatically generated by apkbuild-cpan, template 4 # Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Valery Kartel <valery.kartel@gmail.com> pkgname=perl-gd +pkgver=2.81 +pkgrel=0 #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan _pkgreal=GD -pkgver=2.78 -pkgrel=0 -pkgdesc="Perl interface to the gd2 graphics library" +pkgdesc="Perl interface to the libgd graphics library" url="https://metacpan.org/release/GD/" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" @@ -20,7 +20,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 } @@ -31,9 +34,8 @@ check() { package() { make DESTDIR="$pkgdir" install - find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } sha512sums=" -ef3df42c003f105fd1c313ea9e8b8b1e75912b4fdb274e73f2e4f5664a0adb8479a2e62fae5a493e37c36865f9dc37207d2d31e96316eb18a3c5384e07858591 GD-2.78.tar.gz +5a921b30dfb644f2acdb8ea0d287973a4e41a702326e5d2b20e8d9b2e7b6c4b5fde94bb72dd470f89f2587a94daf9f62c31de65b55c6e4155b9149d8971ffda7 GD-2.81.tar.gz " |