blob: 5edbe2b42494945ec12daf64e60cf0645d8aa776 (
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
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-data-page
_pkgreal=Data-Page
pkgver=2.02
pkgrel=1
pkgdesc="help when paging through sets of results"
url="http://search.cpan.org/dist/Data-Page/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-class-accessor-chained perl-test-exception"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-build"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/L/LB/LBROCARD/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor || return 1
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
package() {
cd "$_builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="57f9aed8a79687a2712adf7bf2f9cc4d Data-Page-2.02.tar.gz"
sha256sums="a414bd2e6f9ba8982017b3fbeaa460da8fbadee1cf5ec37c7e560948984871c3 Data-Page-2.02.tar.gz"
sha512sums="22b5b8b80672bfd20a1552ee9d41e5150262eb37be6d903d67465be472d1802668ac898b9172b76fe2747f25ff9ad2025257b215f763f2ba5793abb46eb2343f Data-Page-2.02.tar.gz"
|