diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-21 19:13:50 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-06-12 23:51:46 +0000 |
commit | 9bb29f80da6c40939bd8ae8ec13a3258390ea923 (patch) | |
tree | f2ec8a64b2ded0a3df0fda2bdc1e51401d42b185 /user/perl-tie-ixhash/APKBUILD | |
parent | 19da977eac1a054a5131b9c57c876ee5a2f83c51 (diff) | |
download | packages-9bb29f80da6c40939bd8ae8ec13a3258390ea923.tar.gz packages-9bb29f80da6c40939bd8ae8ec13a3258390ea923.tar.bz2 packages-9bb29f80da6c40939bd8ae8ec13a3258390ea923.tar.xz packages-9bb29f80da6c40939bd8ae8ec13a3258390ea923.zip |
user/perl-tie-ixhash: new package
Diffstat (limited to 'user/perl-tie-ixhash/APKBUILD')
-rw-r--r-- | user/perl-tie-ixhash/APKBUILD | 32 |
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" |