summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:40:24 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:40:24 +0000
commitbd8e07810bfe5275cf748f48454e606806ab8d7d (patch)
tree221a3c98584426c43308f5e331f6e5bd0edd7670
parent9864d26775bde4b10dd0d47caceb514918564b87 (diff)
downloadpackages-bd8e07810bfe5275cf748f48454e606806ab8d7d.tar.gz
packages-bd8e07810bfe5275cf748f48454e606806ab8d7d.tar.bz2
packages-bd8e07810bfe5275cf748f48454e606806ab8d7d.tar.xz
packages-bd8e07810bfe5275cf748f48454e606806ab8d7d.zip
user/perl-test-most: new package
-rw-r--r--user/perl-test-most/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-most/APKBUILD b/user/perl-test-most/APKBUILD
new file mode 100644
index 000000000..6a31e827d
--- /dev/null
+++ b/user/perl-test-most/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-most
+pkgver=0.35
+pkgrel=0
+pkgdesc="Most commonly needed Perl test functions and features"
+url="https://metacpan.org/release/Test-Most"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-exception-class"
+makedepends="perl-dev"
+checkdepends="perl-test-deep perl-test-differences perl-test-exception perl-test-warn"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/O/OV/OVID/Test-Most-$pkgver.tar.gz"
+builddir="$srcdir/Test-Most-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="1b2d201811e59d7afce47ff5f7da67c170d4685ffbec23360757b5cacc9fe72fc82609bc46cc9d8e351fdb75715696457c201dd94fadaeca70a6f31690236291 Test-Most-0.35.tar.gz"