aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-test-inter/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-test-inter/APKBUILD')
-rw-r--r--community/perl-test-inter/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-test-inter/APKBUILD b/community/perl-test-inter/APKBUILD
new file mode 100644
index 0000000000..9d94453297
--- /dev/null
+++ b/community/perl-test-inter/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-test-inter
+_pkgreal=Test-Inter
+pkgver=1.09
+pkgrel=0
+pkgdesc="framework for more readable interactive test scripts"
+url="http://search.cpan.org/dist/Test-Inter/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+makedepends="perl-dev perl-module-build"
+checkdepends="perl-test-pod perl-test-pod-coverage perl-file-find-rule"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SB/SBECK/$_pkgreal-$pkgver.tar.gz"
+
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" pure_install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="b1f556393a445ae2c04fcc958fc3c9ee9091d17aaa9997dfde13098622162ebc27ac0282401abc27131a3b072be3aafeb5cc74af4b3e1ff4149f6c77536ef6c4 Test-Inter-1.09.tar.gz"