aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-params-classify/APKBUILD
blob: bcf20f54e6528ec239779ee0c4d00da0ed426945 (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: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-params-classify
_pkgreal=Params-Classify
pkgver=0.013
pkgrel=5
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"

prepare() {
	cd "$_builddir"
	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="63d24fbec775472ada49d16bce4a9b1f  Params-Classify-0.013.tar.gz"
sha256sums="4101af81c0a44728a220308db4b47c6a4a80d6d1c63f6973cf5f535752d39eb4  Params-Classify-0.013.tar.gz"
sha512sums="8638d0d952854770049a8cf382ce02f6164025ad7224588d41be02f504947cb9d309d95c33d8fc1c2e3b5de6dfdbeac7fdaf9cd16dd6ba0a3d546c7a002e65e6  Params-Classify-0.013.tar.gz"