blob: 766cfcb136e00e6d71007bc470a5062a06856c57 (
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
32
33
34
35
36
37
38
39
40
41
42
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=perl-cgi-fast
pkgver=2.09
pkgrel=0
pkgdesc="CGI Interface for Fast CGI"
url="https://metacpan.org/release/CGI-Fast"
arch="noarch"
license="PerlArtistic GPL"
depends="perl-cgi perl-fcgi"
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
}
build() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="32d39d89a9ff3a596eb891e602a0f703 CGI-Fast-2.09.tar.gz"
sha256sums="693871360517b5415bfb5e60db723ecab8b2930b22679aff82036cbba67c6eb9 CGI-Fast-2.09.tar.gz"
sha512sums="f8681f5c2a78d070c0516c7f2f9485ca32f49ce4dd8b9d55a17c8d0e24cd8142d9a38e05e6a6e38c698c1e05cf412c6d3dcdabe61134782b369fee22bdebabaf CGI-Fast-2.09.tar.gz"
|