diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-04 02:43:19 -0300 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2019-06-05 07:01:03 +0000 |
commit | 6a9d687e9500eef6dd3bf3a8c6acb484310e3e22 (patch) | |
tree | 4dc16f662e847aaf3fe53c0e725a0a4c89c879b2 /main/perl-cgi/APKBUILD | |
parent | aa9a57595719cbe71b0fb857edf3ba97df71876b (diff) | |
download | aports-6a9d687e9500eef6dd3bf3a8c6acb484310e3e22.tar.bz2 aports-6a9d687e9500eef6dd3bf3a8c6acb484310e3e22.tar.xz |
main/perl-cgi: upgrade to 4.44
Diffstat (limited to 'main/perl-cgi/APKBUILD')
-rw-r--r-- | main/perl-cgi/APKBUILD | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/main/perl-cgi/APKBUILD b/main/perl-cgi/APKBUILD index 9ee578229b..83cbf46cb8 100644 --- a/main/perl-cgi/APKBUILD +++ b/main/perl-cgi/APKBUILD @@ -3,46 +3,40 @@ # Maintainer: Timo Teräs <timo.teras@iki.fi> pkgname=perl-cgi _pkgreal=CGI -pkgver=4.43 +pkgver=4.44 pkgrel=0 pkgdesc="Handle Common Gateway Interface requests and responses" url="http://search.cpan.org/dist/CGI/" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-html-parser" -cpanmakedepends="" cpancheckdepends="perl-test-nowarnings perl-test-deep perl-test-warn" depends="$cpandepends" -makedepends="perl-dev $cpanmakedepends" +makedepends="perl-dev" checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/$_pkgreal-$pkgver.tar.gz" builddir="$srcdir/$_pkgreal-$pkgver" prepare() { - default_prepare || return 1 - - cd "$builddir" + default_prepare 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}') make } package() { - cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + 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="620634861c66bbebaa31c03273a9f91151865954310e697afc697ca3274a97ae90235bcdafd829ed63d647ed5256689073de09a5d71a0779b6219ab8045be61d CGI-4.43.tar.gz" +sha512sums="3cbb7d8c54a08ded7a78f971bda8dbd95ebe52cb10ff20a1094bbff7aa422eb76d456aa4a425aa45c6add2a6a2d669fc3814ee4ba554079d64a5226e0538ccfc CGI-4.44.tar.gz" |