From be867b098c09b83aed0e77ad2a05b8960e8f13ec Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Sat, 21 May 2022 19:13:50 +0000 Subject: user/perl-tie-ixhash: new package --- user/perl-tie-ixhash/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/perl-tie-ixhash/APKBUILD (limited to 'user') 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2