aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-apache-session/APKBUILD
blob: efd4dfcee9a5c1929d05ab5c5e2df3aee551b1bc (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
# 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=1
pkgdesc="A persistence framework for session data"
url="https://metacpan.org/release/Apache-Session"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpanmakedepends="perl-test-exception perl-test-deep"
depends="$cpandepends"
makedepends="perl-dev perl-sub-uplevel $cpanmakedepends perl-module-build"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/C/CH/CHORNY/Apache-Session-$pkgver.tar.gz"

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

prepare() {
	perl Build.PL installdirs=vendor
}

build() {
	./Build
}

check() {
	./Build test
}

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

sha512sums="568653b5151df61dbbc4b034043e1d4be75642122ab920a13155c4abbe052e4d96915b1453eb9f2f06bd1159d95efef7ed5905b4d2f2b8c6fdd3711d0cf5dbe4  Apache-Session-1.93.tar.gz"