summaryrefslogtreecommitdiff
path: root/main/perl-fcgi-procmanager/APKBUILD
blob: 6284ed6e1a0bf11e9d77bb6044dbdbbe33bf36a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-fcgi-procmanager
_pkgreal=FCGI-ProcManager
pkgver=0.28
pkgrel=4
pkgdesc="Functions for managing FastCGI applications"
url="https://metacpan.org/release/FCGI-ProcManager/"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0-or-later"
depends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AR/ARODLAND/FCGI-ProcManager-$pkgver.tar.gz"

builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="dacf7a18b7c7d402769bdbfbe136e1c11fb9c7565d29e1d1892a055136052117ad85b4ec2b93dd34ee5f2a907fde6919089b86ad40c5d602011f8f6e58b9169e  FCGI-ProcManager-0.28.tar.gz"