aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-cgi-fast
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-11-17 17:55:35 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-28 17:28:33 +0000
commit62cc1f6826da42d74fedfcf922ca76b0511d9955 (patch)
tree2f24d338137482ced66872ddff390fc932bc2eed /main/perl-cgi-fast
parentdf1f0e7989fc8be8f514bf4f1e088faabc6d52e4 (diff)
downloadaports-62cc1f6826da42d74fedfcf922ca76b0511d9955.tar.bz2
aports-62cc1f6826da42d74fedfcf922ca76b0511d9955.tar.xz
main/perl-cgi-fast: upgrade to 2.13
Diffstat (limited to 'main/perl-cgi-fast')
-rw-r--r--main/perl-cgi-fast/APKBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/main/perl-cgi-fast/APKBUILD b/main/perl-cgi-fast/APKBUILD
index 227eeb65da..b487ffb2f9 100644
--- a/main/perl-cgi-fast/APKBUILD
+++ b/main/perl-cgi-fast/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=perl-cgi-fast
_pkgreal=CGI-Fast
-pkgver=2.12
+pkgver=2.13
pkgrel=0
pkgdesc="CGI Interface for Fast CGI"
url="http://search.cpan.org/dist/CGI-Fast"
@@ -18,14 +18,17 @@ builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make -C "$builddir" test
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make -C "$builddir" DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="00452a2c31eb8fd877808764508a491894d87986bda493b2b15773cd29f2699184559f0c55af1af1684c851005b61eb1364bccae7ba4f4df3166d9020c15b40e CGI-Fast-2.12.tar.gz"
+sha512sums="58e7010f5cdfa13e8ba4e528dfe2d7bcc4ac33f48482de186ef27ec0a38ac091c9d534761231c7dd947516532c78520259e841533690ffba7b90fb3d0069f53c CGI-Fast-2.13.tar.gz"