aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-test-most/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 14:05:09 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-26 14:21:06 +0000
commite007cf4b5a99cee1828ee8b911ac7c44f8eb9250 (patch)
treea10d0501c245847b4facd95c9326f7946a02a6c7 /community/perl-test-most/APKBUILD
parent12cbc674402db7cab29f395d550982330590ace5 (diff)
downloadaports-e007cf4b5a99cee1828ee8b911ac7c44f8eb9250.tar.bz2
aports-e007cf4b5a99cee1828ee8b911ac7c44f8eb9250.tar.xz
community/perl-test-most: upgrade to 0.35
Diffstat (limited to 'community/perl-test-most/APKBUILD')
-rw-r--r--community/perl-test-most/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/perl-test-most/APKBUILD b/community/perl-test-most/APKBUILD
new file mode 100644
index 0000000000..996864d6c9
--- /dev/null
+++ b/community/perl-test-most/APKBUILD
@@ -0,0 +1,40 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=perl-test-most
+_pkgreal=Test-Most
+pkgver=0.35
+pkgrel=0
+pkgdesc="unknown"
+url="http://search.cpan.org/dist/Test-Most/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-exception-class perl-test-differences perl-test-warn perl-test-exception perl-test-deep"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/O/OV/OVID/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="03dbabd34d6f40af8bd47f5fbb0c6989 Test-Most-0.35.tar.gz"
+sha256sums="9897a6f4d751598d2ed1047e01c1554b01d0f8c96c45e7e845229782bf6f657f Test-Most-0.35.tar.gz"
+sha512sums="1b2d201811e59d7afce47ff5f7da67c170d4685ffbec23360757b5cacc9fe72fc82609bc46cc9d8e351fdb75715696457c201dd94fadaeca70a6f31690236291 Test-Most-0.35.tar.gz"