summaryrefslogtreecommitdiff
path: root/user/perl-list-someutils-xs/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:19:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 04:19:46 +0000
commitf5f389d53d087a04e16fab77bb8993bcaa4ce401 (patch)
treefc386b8ce316942e2ce032aacbecf362b43a86f0 /user/perl-list-someutils-xs/APKBUILD
parentfdfebae7e1c11bcf97fa63e0d4a57887b54e16e9 (diff)
downloadpackages-f5f389d53d087a04e16fab77bb8993bcaa4ce401.tar.gz
packages-f5f389d53d087a04e16fab77bb8993bcaa4ce401.tar.bz2
packages-f5f389d53d087a04e16fab77bb8993bcaa4ce401.tar.xz
packages-f5f389d53d087a04e16fab77bb8993bcaa4ce401.zip
user/perl-list-someutils-xs: new package
Diffstat (limited to 'user/perl-list-someutils-xs/APKBUILD')
-rw-r--r--user/perl-list-someutils-xs/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-list-someutils-xs/APKBUILD b/user/perl-list-someutils-xs/APKBUILD
new file mode 100644
index 000000000..55e736bbe
--- /dev/null
+++ b/user/perl-list-someutils-xs/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-xs
+pkgver=0.58
+pkgrel=0
+pkgdesc="XS implementation of Perl List::SomeUtils"
+url="https://metacpan.org/release/List-SomeUtils-XS"
+arch="all"
+license="Artistic-2.0"
+depends=""
+makedepends="perl-dev"
+checkdepends="perl-test-leaktrace perl-test-warnings"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/List-SomeUtils-XS-$pkgver.tar.gz"
+builddir="$srcdir/List-SomeUtils-XS-$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="f89f5a35224a69a59c1d512a819bd725b324f0968ea447824a42c741c4ba66ee9522db939bd3e75d190e0f2f75d54100912b83a86d5e7dd1079025a57a245c38 List-SomeUtils-XS-0.58.tar.gz"