summaryrefslogtreecommitdiff
path: root/user/perl-test-deep/APKBUILD
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-25 17:48:18 -0700
committerDan Theisen <djt@hxx.in>2018-09-25 18:40:04 -0700
commit3eba6f54f7802ec3500125114b2910be75bf4bbc (patch)
tree6ece572f0d0e13ddfbb12cab97c6aa66de09717d /user/perl-test-deep/APKBUILD
parented7891a7c367812e2181d45bf4b275c29c2894f5 (diff)
downloadpackages-3eba6f54f7802ec3500125114b2910be75bf4bbc.tar.gz
packages-3eba6f54f7802ec3500125114b2910be75bf4bbc.tar.bz2
packages-3eba6f54f7802ec3500125114b2910be75bf4bbc.tar.xz
packages-3eba6f54f7802ec3500125114b2910be75bf4bbc.zip
user/perl-test-deep: new package
Diffstat (limited to 'user/perl-test-deep/APKBUILD')
-rw-r--r--user/perl-test-deep/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-test-deep/APKBUILD b/user/perl-test-deep/APKBUILD
new file mode 100644
index 000000000..0c488f4e2
--- /dev/null
+++ b/user/perl-test-deep/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-test-deep
+pkgver=1.128
+pkgrel=0
+pkgdesc="Extremely flexible deep comparison"
+url="https://metacpan.org/pod/Test::Deep"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0"
+depends="perl"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Test-Deep-$pkgver.tar.gz"
+builddir="$srcdir/Test-Deep-$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="d4642b3268a10d8e882beabfbb3b3bf891a57aa7ebb74bc4919a4368df9c9acd2351498401538ae50299071f99e06b4443686d20f8c9f95f5fd588309ccee302 Test-Deep-1.128.tar.gz"