diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2017-02-16 00:06:15 +0200 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-02-16 07:17:44 +0000 |
commit | c868fc7f8cd280a65dd6c3440a5596a37cca834c (patch) | |
tree | 6255dbc34c824564e33a231fffb790a308f4b9ba /main/perl-cgi-fast | |
parent | 4a62fb6e920d69977343b36b1e10eaae6d5d9f34 (diff) | |
download | aports-c868fc7f8cd280a65dd6c3440a5596a37cca834c.tar.bz2 aports-c868fc7f8cd280a65dd6c3440a5596a37cca834c.tar.xz |
main/perl-cgi-fast: upgrade to 2.12
take maintain
Diffstat (limited to 'main/perl-cgi-fast')
-rw-r--r-- | main/perl-cgi-fast/APKBUILD | 29 |
1 files changed, 9 insertions, 20 deletions
diff --git a/main/perl-cgi-fast/APKBUILD b/main/perl-cgi-fast/APKBUILD index 827728b7da..227eeb65da 100644 --- a/main/perl-cgi-fast/APKBUILD +++ b/main/perl-cgi-fast/APKBUILD @@ -1,10 +1,11 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: +# Maintainer: Valery Kartel <valery.kartel@gmail.com> pkgname=perl-cgi-fast -pkgver=2.10 +_pkgreal=CGI-Fast +pkgver=2.12 pkgrel=0 pkgdesc="CGI Interface for Fast CGI" -url="https://metacpan.org/release/CGI-Fast" +url="http://search.cpan.org/dist/CGI-Fast" arch="noarch" license="PerlArtistic GPL" depends="perl-cgi perl-fcgi" @@ -12,31 +13,19 @@ depends_dev="" makedepends="$depends_dev perl-dev" install="" subpackages="$pkgname-doc" -source="http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-Fast-$pkgver.tar.gz" - -_builddir="$srcdir"/CGI-Fast-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +source="http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" build() { - cd "$_builddir" + cd "$builddir" PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } -md5sums="7c1d93600b796b9a0eb6fa3558d3d0c1 CGI-Fast-2.10.tar.gz" -sha256sums="98263afcc9f5d88c7cbbd39651c5431b434c1c815fe284962d887ed7be3a1dd3 CGI-Fast-2.10.tar.gz" -sha512sums="55d05c742bf49045f917aa4a4efdab3e5ce2251ca61de0e7db0a586d8a592784989bc74fa43a3c6430a920f38b2aa818887e96c3e24c701d531dae94b247da2c CGI-Fast-2.10.tar.gz" +sha512sums="00452a2c31eb8fd877808764508a491894d87986bda493b2b15773cd29f2699184559f0c55af1af1684c851005b61eb1364bccae7ba4f4df3166d9020c15b40e CGI-Fast-2.12.tar.gz" |