summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:20:04 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:20:04 +0000
commitcc816acb5ee20d06ee82a16e6cf26d3eb051b05c (patch)
tree139df02734b6d994899eb5af6b68b074176d3bb9 /user
parentf5f389d53d087a04e16fab77bb8993bcaa4ce401 (diff)
downloadpackages-cc816acb5ee20d06ee82a16e6cf26d3eb051b05c.tar.gz
packages-cc816acb5ee20d06ee82a16e6cf26d3eb051b05c.tar.bz2
packages-cc816acb5ee20d06ee82a16e6cf26d3eb051b05c.tar.xz
packages-cc816acb5ee20d06ee82a16e6cf26d3eb051b05c.zip
user/perl-list-someutils: new package
Diffstat (limited to 'user')
-rw-r--r--user/perl-list-someutils/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-list-someutils/APKBUILD b/user/perl-list-someutils/APKBUILD
new file mode 100644
index 000000000..80a5e64ee
--- /dev/null
+++ b/user/perl-list-someutils/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-list-someutils
+pkgver=0.56
+pkgrel=0
+pkgdesc="Provide the stuff missing in Perl's List::Util module"
+url="https://metacpan.org/release/List-SomeUtils"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-list-someutils-xs perl-module-implementation"
+makedepends="perl-dev"
+checkdepends="perl-test-leaktrace"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/List-SomeUtils-$pkgver.tar.gz"
+builddir="$srcdir/List-SomeUtils-$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="b74c2a97811185d21bfd68fe60606afe8e92c266e98a763d51589021c9b3ae5310275005dc80198b8f9d92118fed569b5251d5ad87643f47af75a478db388503 List-SomeUtils-0.56.tar.gz"