summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-21 19:13:50 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:59 -0500
commitbe867b098c09b83aed0e77ad2a05b8960e8f13ec (patch)
tree7ebe8b766170aa38e9f61e38ad8c5963a3dd03e3
parent357d2f64adf716ebd89b248b4ffb13a4a8a90556 (diff)
downloadpackages-be867b098c09b83aed0e77ad2a05b8960e8f13ec.tar.gz
packages-be867b098c09b83aed0e77ad2a05b8960e8f13ec.tar.bz2
packages-be867b098c09b83aed0e77ad2a05b8960e8f13ec.tar.xz
packages-be867b098c09b83aed0e77ad2a05b8960e8f13ec.zip
user/perl-tie-ixhash: new package
-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"