diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2022-05-05 00:33:45 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:33:58 -0500 |
commit | 1b6a3835648744f5414e25bab56e89084f121ca8 (patch) | |
tree | 4f9ff94c60602851f76a86dd4c31cd76f6bec207 /user | |
parent | c040322ba7e2f581bf02ac159214329eba4c6640 (diff) | |
download | packages-1b6a3835648744f5414e25bab56e89084f121ca8.tar.gz packages-1b6a3835648744f5414e25bab56e89084f121ca8.tar.bz2 packages-1b6a3835648744f5414e25bab56e89084f121ca8.tar.xz packages-1b6a3835648744f5414e25bab56e89084f121ca8.zip |
user/perl-list-utilsby: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-list-utilsby/APKBUILD | 34 |
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" |