summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:37:21 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:37:21 +0000
commit7b222171f3afa7a77f1aaaaba89264260bd2255a (patch)
tree4854d7f1df24a0ceddf34f2c176c4edc9527af7f /user
parent9b2f5fa081d4b3378a359963d0f9d45730ff22ee (diff)
downloadpackages-7b222171f3afa7a77f1aaaaba89264260bd2255a.tar.gz
packages-7b222171f3afa7a77f1aaaaba89264260bd2255a.tar.bz2
packages-7b222171f3afa7a77f1aaaaba89264260bd2255a.tar.xz
packages-7b222171f3afa7a77f1aaaaba89264260bd2255a.zip
user/perl-test-run-cmdline: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-test-run-cmdline/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-test-run-cmdline/APKBUILD b/user/perl-test-run-cmdline/APKBUILD
new file mode 100644
index 000000000..42d624844
--- /dev/null
+++ b/user/perl-test-run-cmdline/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-run-cmdline
+pkgver=0.0131
+pkgrel=0
+pkgdesc="Analyse tests from the command line using Perl Test::Run"
+url="https://metacpan.org/release/Test-Run-CmdLine"
+arch="noarch"
+license="MIT"
+depends="perl-moose perl-moosex-getopt perl-test-run perl-universal-require
+ perl-yaml-libyaml"
+makedepends="perl-dev"
+checkdepends="perl-test-trap"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Test-Run-CmdLine-$pkgver.tar.gz"
+builddir="$srcdir/Test-Run-CmdLine-$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="b55ccae6a8cd453fa13083eabf63afa0f01eebe2c244cb5d4118b1be3ecab8077b77e03bef768254a84bd38b1cfb00e9f7053349696fd64fbc670ed43bd54357 Test-Run-CmdLine-0.0131.tar.gz"