Commit c868fc7f authored by Valery Kartel's avatar Valery Kartel Committed by Leonardo Arena
Browse files

main/perl-cgi-fast: upgrade to 2.12

take maintain
parent 4a62fb6e
# 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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment