blob: 25489c9b05c7bb7d5c1a0bfcaf18973f3361d2bc (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-cgi-session
_pkgreal=CGI-Session
pkgver=4.48
pkgrel=4
pkgdesc="perl module for persistent session data in CGI applications"
url="https://metacpan.org/pod/CGI::Session"
arch="noarch"
license="PerlArtistic"
depends="perl"
options="!check" # failing test
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MA/MARKSTOS/CGI-Session-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
perl Makefile.PL INSTALLDIRS=vendor
make MAN1EXT=1p MAN3EXT=3pm
}
check() {
make test
}
package() {
make install MAN1EXT=1p MAN3EXT=3pm DESTDIR="$pkgdir"
find "$pkgdir" -name perllocal.pod -delete
find "$pkgdir" -name .packlist -delete
}
sha512sums="82d6a498035b91474df712fdae2c9ce7290157ddec36095757f16b5cbce593d3b5115077c722350d1c890c299230f7489a41328ed64b85a0f4c3cfff8aceef54 CGI-Session-4.48.tar.gz"
|