summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-25 17:28:33 -0700
committerDan Theisen <djt@hxx.in>2018-09-25 17:28:33 -0700
commit3718ec801ced76789eef97b2862915edc7c2e147 (patch)
tree44f75a5f1bea48911aa9453267033ac4ad302b6a
parent87e8e6173db30f0ca6a7c604929f732628efd32c (diff)
downloadpackages-3718ec801ced76789eef97b2862915edc7c2e147.tar.gz
packages-3718ec801ced76789eef97b2862915edc7c2e147.tar.bz2
packages-3718ec801ced76789eef97b2862915edc7c2e147.tar.xz
packages-3718ec801ced76789eef97b2862915edc7c2e147.zip
user/perl-test-differences: new package
-rw-r--r--user/perl-test-differences/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-differences/APKBUILD b/user/perl-test-differences/APKBUILD
new file mode 100644
index 000000000..64a93147b
--- /dev/null
+++ b/user/perl-test-differences/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-differences
+pkgver=0.64
+pkgrel=0
+pkgdesc="Test strings and data structures and show differences if not ok"
+url="https://metacpan.org/pod/Test::Differences"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-1.0"
+depends="perl perl-text-diff perl-capture-tiny perl-test-pod-coverage perl-test-pod"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DC/DCANTRELL/Test-Differences-$pkgver.tar.gz"
+builddir="$srcdir/Test-Differences-$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="118a4b8e3f61f64d6676c82913bb605a843a408f3fc5d960b40cc86f10423380a203b2a5604e15ba8d4e0cff96af88b551fba1c7aa2ada3c0ef408a27ee5f069 Test-Differences-0.64.tar.gz"