diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:30:26 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 21:30:26 +0000 |
commit | 6df7525bbf1cb73e2b94d137c06475b0df602ccb (patch) | |
tree | 219267dfccd33db74a11d34d14ded64a6d838f74 /user/perl-package-stash | |
parent | bafa673ae6cdabdf5791ad0ceac7fbb6fe0541fc (diff) | |
download | packages-6df7525bbf1cb73e2b94d137c06475b0df602ccb.tar.gz packages-6df7525bbf1cb73e2b94d137c06475b0df602ccb.tar.bz2 packages-6df7525bbf1cb73e2b94d137c06475b0df602ccb.tar.xz packages-6df7525bbf1cb73e2b94d137c06475b0df602ccb.zip |
user/perl-package-stash: new package
Diffstat (limited to 'user/perl-package-stash')
-rw-r--r-- | user/perl-package-stash/APKBUILD | 34 |
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" |