summaryrefslogtreecommitdiff
path: root/user/perl-heap
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 00:19:11 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commitc040322ba7e2f581bf02ac159214329eba4c6640 (patch)
tree4e8c8e0feacda342e8ec5543da4aa894e516d6d7 /user/perl-heap
parent7e46d4ab089cc2bb6430817be5749b8801fad8a0 (diff)
downloadpackages-c040322ba7e2f581bf02ac159214329eba4c6640.tar.gz
packages-c040322ba7e2f581bf02ac159214329eba4c6640.tar.bz2
packages-c040322ba7e2f581bf02ac159214329eba4c6640.tar.xz
packages-c040322ba7e2f581bf02ac159214329eba4c6640.zip
user/perl-heap: new package
Diffstat (limited to 'user/perl-heap')
-rw-r--r--user/perl-heap/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-heap/APKBUILD b/user/perl-heap/APKBUILD
new file mode 100644
index 000000000..8d39e1833
--- /dev/null
+++ b/user/perl-heap/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-heap
+_pkgreal=Heap
+_author=JMM
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.80
+pkgrel=0
+pkgdesc="Perl extensions for keeping data partially sorted"
+url="https://metacpan.org/pod/Heap"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+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="133e2668a90de8cea13302464188415fa30e4a0a85fb51af7409ff2e3466e33a6daf172b2466f046c5275db6ab19bb573e8b2d14acf616b110bdd60869865690 Heap-0.80.tar.gz"