summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:33:54 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-10-02 01:33:54 +0000
commit42a4cfc0925a824cb10e8af2dd6b2b4c34ad9092 (patch)
treec7e6f19340b323f3a16b26352a68b18708dcb231
parent90e23212dc6aa69f3fed30eac3e00dce5f2a9316 (diff)
downloadpackages-42a4cfc0925a824cb10e8af2dd6b2b4c34ad9092.tar.gz
packages-42a4cfc0925a824cb10e8af2dd6b2b4c34ad9092.tar.bz2
packages-42a4cfc0925a824cb10e8af2dd6b2b4c34ad9092.tar.xz
packages-42a4cfc0925a824cb10e8af2dd6b2b4c34ad9092.zip
user/perl-moosex-role-parameterised: new package
-rw-r--r--user/perl-moosex-role-parameterised/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-moosex-role-parameterised/APKBUILD b/user/perl-moosex-role-parameterised/APKBUILD
new file mode 100644
index 000000000..6225b2371
--- /dev/null
+++ b/user/perl-moosex-role-parameterised/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=perl-moosex-role-parameterised
+pkgver=1.10
+pkgrel=0
+pkgdesc="Perl Moose roles with composition parameters"
+url="https://metacpan.org/release/MooseX-Role-Parameterized"
+arch="noarch"
+license="Artistic-1.0-Perl"
+depends="perl-module-runtime perl-moose perl-namespace-autoclean perl-namespace-clean"
+makedepends="perl-dev perl-module-build-tiny"
+checkdepends="perl-cpan-meta-check perl-dist-checkconflicts perl-test-fatal perl-test-requires"
+provides="perl-moosex-role-parameterized=$pkgver-r$pkgrel"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/MooseX-Role-Parameterized-$pkgver.tar.gz"
+builddir="$srcdir/MooseX-Role-Parameterized-$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="10f6b51dd6e09c30e36496469c4a213e0ab6d12529e0b91161f680ae595b312e9dbff035d6c8a2d10dbff7fa55cf7ca6b53cd66b848f75f7e6ac43b6e6eb9e84 MooseX-Role-Parameterized-1.10.tar.gz"