aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-cgi-session/APKBUILD
blob: f3dac402639f2a49742b536f80139c685f95ca3d (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-cgi-session
_name=CGI-Session
pkgver=4.48
pkgrel=0
pkgdesc="perl module for persistent session data in CGI applications"
url="http://search.cpan.org/~markstos/CGI-Session-$pkgver/"
arch="noarch"
license="PerlArtistic"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI-Session-$pkgver.tar.gz"

build () {
	cd "$srcdir"/$_name-$pkgver
	perl Makefile.PL INSTALLDIRS=vendor || return 1
	make MAN1EXT=1p MAN3EXT=3pm || return 1
}

package() {
	cd "$srcdir"/$_name-$pkgver
	make install MAN1EXT=1p MAN3EXT=3pm DESTDIR="$pkgdir" || return 1
	find "$pkgdir" -name perllocal.pod -delete
	find "$pkgdir" -name .packlist -delete
}
md5sums="7f8983aaeb92a0ba77eca8bca6d8d43a  CGI-Session-4.48.tar.gz"