summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/perl-tie-ixhash/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/perl-tie-ixhash/APKBUILD b/user/perl-tie-ixhash/APKBUILD
new file mode 100644
index 000000000..4162e88cc
--- /dev/null
+++ b/user/perl-tie-ixhash/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-tie-ixhash
+_pkgreal=Tie-IxHash
+_author=CHORNY
+pkgver=1.23
+pkgrel=0
+pkgdesc="Ordered associative arrays for Perl"
+url="https://metacpan.org/pod/Tie::IxHash"
+arch="noarch"
+license="Artistic-1.0-Perl OR GPL-1.0+"
+depends="perl"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="13e5015cf4e11e3ba828279a5090704b8e4bed26a04e1f486a9d3a63c41eaf38d54d233b20ef5d1886b56e857208c229fd145c4c676b681e3e9c1ed3c252f195 Tie-IxHash-1.23.tar.gz"