Mail archive
alpine-aports

[alpine-aports] [PATCH] main/perl-cgi-fast: upgrade to 2.12

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Thu, 16 Feb 2017 00:06:15 +0200

take maintain
---
 main/perl-cgi-fast/APKBUILD | 29 +++++++++--------------------
 1 file 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
_at_@ -1,10 +1,11 @@
 # Contributor: Carlo Landmeter <clandmeter_at_gmail.com>
-# Maintainer:
+# Maintainer: Valery Kartel <valery.kartel_at_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"
_at_@ -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"
-- 
2.11.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Feb 16 2017 - 00:06:15 GMT