summaryrefslogtreecommitdiff
path: root/user/perl-package-stash-xs/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 21:27:30 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 21:27:30 +0000
commit3eb0b3bb12200640fe3ec959cc56d81c6cc94444 (patch)
tree374938195898645f2abaca2e24e3b9b69898bda2 /user/perl-package-stash-xs/APKBUILD
parente00d6892fadf85ce73a9b295af1e8bbebb87508c (diff)
downloadpackages-3eb0b3bb12200640fe3ec959cc56d81c6cc94444.tar.gz
packages-3eb0b3bb12200640fe3ec959cc56d81c6cc94444.tar.bz2
packages-3eb0b3bb12200640fe3ec959cc56d81c6cc94444.tar.xz
packages-3eb0b3bb12200640fe3ec959cc56d81c6cc94444.zip
user/perl-package-stash-xs: new package
Diffstat (limited to 'user/perl-package-stash-xs/APKBUILD')
-rw-r--r--user/perl-package-stash-xs/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-package-stash-xs/APKBUILD b/user/perl-package-stash-xs/APKBUILD
new file mode 100644
index 000000000..e3f4a2635
--- /dev/null
+++ b/user/perl-package-stash-xs/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-package-stash-xs
+pkgver=0.28
+pkgrel=0
+pkgdesc="Faster and more correct implementation of Package::Stash"
+url="https://metacpan.org/release/Package-Stash-XS"
+arch="all"
+license="Artistic-1.0-Perl"
+depends=""
+makedepends="perl-dev"
+checkdepends="perl-test-fatal perl-test-requires"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DO/DOY/Package-Stash-XS-$pkgver.tar.gz"
+builddir="$srcdir/Package-Stash-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="409e884998bf063f438335067ff8f702aa1f12fc686c1912ad532f6536a711273e52c140d9c407c47b7ba4ccacedec480c1542437a90dd76367dc0f732c0db38 Package-Stash-XS-0.28.tar.gz"