From 6df7525bbf1cb73e2b94d137c06475b0df602ccb Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 1 Oct 2018 21:30:26 +0000 Subject: user/perl-package-stash: new package --- user/perl-package-stash/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-package-stash/APKBUILD (limited to 'user') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2