diff --git a/main/perl-gd/APKBUILD b/main/perl-gd/APKBUILD index d2aa11a566691cdb54f2a85d7f3c724c60c60b57..2f05148c9e0a85dbe4515873dda476b0a2f54cfb 100644 --- a/main/perl-gd/APKBUILD +++ b/main/perl-gd/APKBUILD @@ -3,23 +3,21 @@ # Maintainer: Valery Kartel <valery.kartel@gmail.com> pkgname=perl-gd _pkgreal=GD -pkgver=2.71 -pkgrel=1 +pkgver=2.72 +pkgrel=0 pkgdesc="Perl module for GD" url="https://metacpan.org/release/GD" arch="all" license="GPL-1.0-or-later OR Artistic-1.0-Perl" -cpanmakedepends="perl-extutils-pkgconfig" depends="perl" -makedepends="perl-dev $cpanmakedepends gd-dev libjpeg-turbo-dev zlib-dev - libpng-dev freetype-dev libwebp-dev" +makedepends="perl-dev perl-extutils-pkgconfig gd-dev libjpeg-turbo-dev zlib-dev libpng-dev freetype-dev libwebp-dev" subpackages="$pkgname-doc" source="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/GD-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - cd "$builddir" + default_prepare if [ -e Build.PL ]; then perl Build.PL installdirs=vendor else @@ -28,20 +26,17 @@ prepare() { } build() { - cd "$builddir" export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}') make } check() { - cd "$builddir" make test } package() { - cd "$builddir" make DESTDIR="$pkgdir" install find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -sha512sums="3a1555f07e6ab36a7218f24853f4168914be45e8c19ab0fe971ab044725dc0d7efeca75be2e4408406e69601f07e047fd3ea157acc9b9d339c9917a1c3e1f74d GD-2.71.tar.gz" +sha512sums="93a42c2385673ce8133102adc125da966f8a8abcebe4a0a9d87ae3e77a84870138db81f532e393eb1c5be4b12c71b737bd5b85ed84cf4b8580f08a5296189103 GD-2.72.tar.gz"