summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 21:16:46 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-01 21:16:46 +0000
commite00d6892fadf85ce73a9b295af1e8bbebb87508c (patch)
tree0c61da45ce42d27a58d1043c0aaae75128cf9d84
parent0337c07b38d2ba7b5d8d5b429437d1bbc9c53ab9 (diff)
downloadpackages-e00d6892fadf85ce73a9b295af1e8bbebb87508c.tar.gz
packages-e00d6892fadf85ce73a9b295af1e8bbebb87508c.tar.bz2
packages-e00d6892fadf85ce73a9b295af1e8bbebb87508c.tar.xz
packages-e00d6892fadf85ce73a9b295af1e8bbebb87508c.zip
user/perl-module-implementation: new package
-rw-r--r--user/perl-module-implementation/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-module-implementation/APKBUILD b/user/perl-module-implementation/APKBUILD
new file mode 100644
index 000000000..d64f1a35d
--- /dev/null
+++ b/user/perl-module-implementation/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-module-implementation
+pkgver=0.09
+pkgrel=0
+pkgdesc="Loads an underlying implementation of a Perl module"
+url="https://metacpan.org/release/Module-Implementation"
+arch="noarch"
+license="Artistic-2.0"
+depends="perl-module-runtime perl-try-tiny"
+makedepends="perl-dev"
+checkdepends="perl-test-fatal perl-test-requires"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Module-Implementation-$pkgver.tar.gz"
+builddir="$srcdir/Module-Implementation-$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="049f967ba1bd8a3914968b34006030ae318d99ac629a0f34736f1c2b5392490c30aa0914e777eaefda7f0f58755d2d3363a266b90db59b53fe145ef68e1d953c Module-Implementation-0.09.tar.gz"