summaryrefslogtreecommitdiffstats
path: root/main/perl-apache-session/APKBUILD
blob: 61ff8a3410f777c6b8dc319b11f9a37bafca2ea9 (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.90
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="83775326a5ca7f5a75630ec8fb793e0d  Apache-Session-1.90.tar.gz"
sha256sums="26ab8ba2fc3f09e7c67ab69d147e5c73813e4df8cda6cfe6cb375f0695353eb1  Apache-Session-1.90.tar.gz"
sha512sums="c60f0e61b7839a8975b11439e54478321353eac637ba8d812af8d62f46ab16574f8d0a8caf9579ec68fc82b8147ec03cf8b90ad6fda0e83c0439036639a97108  Apache-Session-1.90.tar.gz"