From 1b6a3835648744f5414e25bab56e89084f121ca8 Mon Sep 17 00:00:00 2001 From: Síle Ekaterin Liszka Date: Thu, 5 May 2022 00:33:45 +0000 Subject: user/perl-list-utilsby: new package --- user/perl-list-utilsby/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-list-utilsby/APKBUILD (limited to 'user/perl-list-utilsby') 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 +# Maintainer: Síle Ekaterin Liszka +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" -- cgit v1.2.3-70-g09d2