blob: 61d9424f06bd45d7558c498d788322202e9553b9 (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-params-classify
_pkgreal=Params-Classify
pkgver=0.014
pkgrel=0
pkgdesc="argument type classification"
url="http://search.cpan.org/dist/Params-Classify/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=""
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends perl-module-build
perl-test-pod-coverage perl-test-pod"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
perl Build.PL installdirs=vendor || return 1
}
check() {
cd "$builddir"
./Build && ./Build test
}
package() {
cd "$builddir"
./Build install destdir="$pkgdir" || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="c467d6c3a723625b5796ef418daacde634c01ee0222d4bf08c9b75e384dd186a12a3acf2fa10c3ac3597a77b98d544b7ed0a638a9ba50128f6fe976063111e3c Params-Classify-0.014.tar.gz"
|