summaryrefslogtreecommitdiff
path: root/user/perl-list-moreutils/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 03:16:02 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 03:16:02 +0000
commit8b651b40e46835eb8931ad92e45a4d7044e5fac9 (patch)
tree59fc71feeb07a6d1f6135c4f88b580f18a3aad8d /user/perl-list-moreutils/APKBUILD
parent469772e1484f7a2ec2afa909bc2d2006a174587e (diff)
downloadpackages-8b651b40e46835eb8931ad92e45a4d7044e5fac9.tar.gz
packages-8b651b40e46835eb8931ad92e45a4d7044e5fac9.tar.bz2
packages-8b651b40e46835eb8931ad92e45a4d7044e5fac9.tar.xz
packages-8b651b40e46835eb8931ad92e45a4d7044e5fac9.zip
user/perl-list-moreutils: new package
Diffstat (limited to 'user/perl-list-moreutils/APKBUILD')
-rw-r--r--user/perl-list-moreutils/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-list-moreutils/APKBUILD b/user/perl-list-moreutils/APKBUILD
new file mode 100644
index 000000000..5fdf20ab2
--- /dev/null
+++ b/user/perl-list-moreutils/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-list-moreutils
+pkgver=0.428
+pkgrel=0
+pkgdesc="Provide the stuff missing in List::Util"
+url="https://metacpan.org/release/List-MoreUtils"
+arch="noarch"
+license="Apache-2.0"
+depends=""
+makedepends="perl-dev perl-exporter-tiny perl-list-moreutils-xs"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/R/RE/REHSACK/List-MoreUtils-$pkgver.tar.gz"
+builddir="$srcdir/List-MoreUtils-$pkgver"
+
+build() {
+ cd "$builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="f7e11f10f1d7bd3b8f9f8bc2fc325e1a9230056f68591da624aed01fb4e4cbac20caeae0c3e2aa3acc8b71febd6d4149284367f051d3c1e608e3a4ca8b62dbd8 List-MoreUtils-0.428.tar.gz"