summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/perl-package-stash/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-package-stash/APKBUILD b/user/perl-package-stash/APKBUILD
new file mode 100644
index 000000000..4b07f6718
--- /dev/null
+++ b/user/perl-package-stash/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
+pkgver=0.37
+pkgrel=0
+pkgdesc="Perl routines for manipulating stashes"
+url="https://metacpan.org/release/Package-Stash"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-module-implementation perl-package-stash-xs"
+makedepends="perl-dev"
+checkdepends="perl-dist-checkconflicts perl-test-fatal perl-test-requires"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DO/DOY/Package-Stash-$pkgver.tar.gz"
+builddir="$srcdir/Package-Stash-$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="d10321903591568d4ac4db91ad9e4dfcffe564ab22a5ecdd8fa103749c9708da082ffb3ca478e98ac120a23e51c0ab0ccf799c0da10fe2be194e9cace1f16b06 Package-Stash-0.37.tar.gz"