aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2020-03-07 21:13:50 +0000
committerRasmus Thomsen <oss@cogitri.dev>2020-03-07 22:44:50 +0100
commit15db959aea65d471faf6355cb6e0b0690b62cbc6 (patch)
tree494b7e731463b3446e7ddc5b91a1df23d1484c86
parent51e1ea557ffe3e826dd8d12ebd93749ba10e7f19 (diff)
downloadaports-15db959aea65d471faf6355cb6e0b0690b62cbc6.tar.bz2
aports-15db959aea65d471faf6355cb6e0b0690b62cbc6.tar.xz
testing/perl-hash-moreutils: new aport
-rw-r--r--testing/perl-hash-moreutils/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/perl-hash-moreutils/APKBUILD b/testing/perl-hash-moreutils/APKBUILD
new file mode 100644
index 0000000000..705a47435e
--- /dev/null
+++ b/testing/perl-hash-moreutils/APKBUILD
@@ -0,0 +1,34 @@
+# Automatically generated by apkbuild-cpan, template 3
+# Contributor: Timothy Legge <timlegge@gmail.com>
+# Maintainer: Timothy Legge <timlegge@gmail.com>
+pkgname=perl-hash-moreutils
+_pkgreal=Hash-MoreUtils
+pkgver=0.06
+pkgrel=0
+pkgdesc="Provide the stuff missing in Hash::Util"
+url="https://metacpan.org/release/Hash-MoreUtils/"
+arch="noarch"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/Hash-MoreUtils-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="a824e6132a25f265308691c6bfa077ad78e7db079a9292c3e2d728675b6b60d9b162d2d1ca965c6295f62616bed4d9b9c177c0eacc5f4f8afbd112bc1f3aa6c9 Hash-MoreUtils-0.06.tar.gz"