aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-apache-session/APKBUILD
blob: 40cc69123060ff538008bb454a9bea0c58b751cc (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
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-apache-session
_pkgreal=Apache-Session
pkgver=1.93
pkgrel=0
pkgdesc="A persistence framework for session data"
url="http://search.cpan.org/dist/Apache-Session/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-test-exception perl-test-deep   "
depends="$cpandepends"
makedepends="perl-dev perl-sub-uplevel $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/$_pkgreal-$pkgver.tar.gz"

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

prepare() {
	cd "$_builddir"
	perl Build.PL installdirs=vendor || return 1
}

build() {
	cd "$_builddir"
	./Build && ./Build test
}

package() {
	cd "$_builddir"
	./Build install destdir="$pkgdir" || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="ce193821557215563e99672ed77025c1  Apache-Session-1.93.tar.gz"
sha256sums="8e5a4882ac8ec657d1018d74d3ba37854e2688a41ddd0e1d73955ea59f276e8d  Apache-Session-1.93.tar.gz"
sha512sums="568653b5151df61dbbc4b034043e1d4be75642122ab920a13155c4abbe052e4d96915b1453eb9f2f06bd1159d95efef7ed5905b4d2f2b8c6fdd3711d0cf5dbe4  Apache-Session-1.93.tar.gz"