aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-test-most/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-test-most/APKBUILD')
-rw-r--r--unmaintained/perl-test-most/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/unmaintained/perl-test-most/APKBUILD b/unmaintained/perl-test-most/APKBUILD
new file mode 100644
index 0000000000..9e44695660
--- /dev/null
+++ b/unmaintained/perl-test-most/APKBUILD
@@ -0,0 +1,41 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor:
+# Maintainer:
+pkgname=perl-test-most
+_pkgreal=Test-Most
+pkgver=0.34
+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="6fa1f097bedbc18f46b08ac9eb79bba9 Test-Most-0.34.tar.gz"
+sha256sums="c2820c8de65f5fa59f218ac2be9be98b22cc1bb1a1f371e04375aa3b6054e244 Test-Most-0.34.tar.gz"
+sha512sums="00706bb25e6b9f806b536f75f66356413cdbcb19efd1c8b163fbd3357f61abe9e06e57c311eff216d36962ce74beb996db6cd4f0d2e5ed58fa5c0a0af32a33ef Test-Most-0.34.tar.gz"