summaryrefslogtreecommitdiff
path: root/user/perl-list-utilsby/APKBUILD
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-05 00:33:45 +0000
committerZach van Rijn <me@zv.io>2022-06-12 23:51:41 +0000
commit96b3db0b55d7d8bff5bdffff1b8941d81b283860 (patch)
tree3f8436bdcc853a8c32d778ea3db6f0976c39df7c /user/perl-list-utilsby/APKBUILD
parent074dada47324948845ccb7836f7a8377ade6b4b6 (diff)
downloadpackages-96b3db0b55d7d8bff5bdffff1b8941d81b283860.tar.gz
packages-96b3db0b55d7d8bff5bdffff1b8941d81b283860.tar.bz2
packages-96b3db0b55d7d8bff5bdffff1b8941d81b283860.tar.xz
packages-96b3db0b55d7d8bff5bdffff1b8941d81b283860.zip
user/perl-list-utilsby: new package
Diffstat (limited to 'user/perl-list-utilsby/APKBUILD')
-rw-r--r--user/perl-list-utilsby/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-list-utilsby/APKBUILD b/user/perl-list-utilsby/APKBUILD
new file mode 100644
index 000000000..9d7b09291
--- /dev/null
+++ b/user/perl-list-utilsby/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-list-utilsby
+_pkgreal=List-UtilsBy
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.12
+pkgrel=0
+pkgdesc="Higher-order list utility functions for Perl"
+url="https://metacpan.org/pod/List::UtilsBy"
+arch="noarch"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+makedepends="perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="8be14ef99a49f3e6ff524d08244522a8724857f7aa7af70db4475befcfc7ab34c75041942ef7c737565567c7f578a0d8ecdde1a61d193572e0010838fb1db0de List-UtilsBy-0.12.tar.gz"