aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-fcgi-procmanager
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-27 15:33:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-28 17:15:07 +0000
commit299b5ca2b5eafcc7e2e3aec340fc0f9c064e3093 (patch)
treeee040b9f50d3df4a50f50d223efd5df2d9789c43 /main/perl-fcgi-procmanager
parent34b85da487b6fe889fe0fd64a31f646b80c72465 (diff)
downloadaports-299b5ca2b5eafcc7e2e3aec340fc0f9c064e3093.tar.bz2
aports-299b5ca2b5eafcc7e2e3aec340fc0f9c064e3093.tar.xz
main/perl-fcgi-procmanager: upgrade to 0.28 and modernize
Diffstat (limited to 'main/perl-fcgi-procmanager')
-rw-r--r--main/perl-fcgi-procmanager/APKBUILD35
1 files changed, 16 insertions, 19 deletions
diff --git a/main/perl-fcgi-procmanager/APKBUILD b/main/perl-fcgi-procmanager/APKBUILD
index 67cfec4e05..eb5d12e25b 100644
--- a/main/perl-fcgi-procmanager/APKBUILD
+++ b/main/perl-fcgi-procmanager/APKBUILD
@@ -1,9 +1,10 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-fcgi-procmanager
-pkgver=0.19
+_pkgreal=FCGI-ProcManager
+pkgver=0.28
pkgrel=0
-pkgdesc="FCGI::ProcManager perl module"
+pkgdesc="Functions for managing FastCGI applications"
url="http://search.cpan.org/dist/FCGI-ProcManager/"
arch="noarch"
license="GPLv2 or Artistic"
@@ -11,29 +12,25 @@ depends="perl"
makedepends="perl-dev"
install=""
subpackages="$pkgname-doc"
-source="http://search.cpan.org/CPAN/authors/id/G/GB/GBJK/FCGI-ProcManager-$pkgver.tar.gz"
+source="http://search.cpan.org/CPAN/authors/id/A/AR/ARODLAND/FCGI-ProcManager-$pkgver.tar.gz"
-_builddir="$srcdir"/FCGI-ProcManager-$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
-}
+builddir="$srcdir/$_pkgreal-$pkgver"
build() {
- cd "$_builddir"
- PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
- make && make test || return 1
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="4f2cb07ec2eb92c5d069e537cc5da6682075bd2b83e4ea93676789c04ed6c91d4ed59929a0b3a5f7c53366e5559711cff199712846a127750893c3fb3b7a5289 FCGI-ProcManager-0.19.tar.gz"
+sha512sums="dacf7a18b7c7d402769bdbfbe136e1c11fb9c7565d29e1d1892a055136052117ad85b4ec2b93dd34ee5f2a907fde6919089b86ad40c5d602011f8f6e58b9169e FCGI-ProcManager-0.28.tar.gz"