summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2018-09-25 21:23:21 -0700
committerDan Theisen <djt@hxx.in>2018-09-25 21:23:21 -0700
commitaf104c3c76c1bc914839e3226e601267e5c0c741 (patch)
treed155408a39369335d6508e3e2fd25bb2a6621c52
parent356283816994aaec363ec0dba67d360334c0a362 (diff)
downloadpackages-af104c3c76c1bc914839e3226e601267e5c0c741.tar.gz
packages-af104c3c76c1bc914839e3226e601267e5c0c741.tar.bz2
packages-af104c3c76c1bc914839e3226e601267e5c0c741.tar.xz
packages-af104c3c76c1bc914839e3226e601267e5c0c741.zip
user/perl-role-tiny: new package
-rw-r--r--user/perl-role-tiny/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/perl-role-tiny/APKBUILD b/user/perl-role-tiny/APKBUILD
new file mode 100644
index 000000000..b0552ccfb
--- /dev/null
+++ b/user/perl-role-tiny/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Dan Theisen <djt@hxx.in>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-role-tiny
+pkgver=2.000006
+pkgrel=0
+pkgdesc="A minimalist role composition tool"
+url="https://metacpan.org/pod/Role::Tiny"
+arch="noarch"
+license="Artistic-1.0-Perl AND GPL-2.0"
+depends="perl"
+makedepends="perl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/H/HA/HAARG/Role-Tiny-$pkgver.tar.gz"
+builddir="$srcdir/Role-Tiny-$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="7640196c4bc1bf7a5437c57f0137f3bbf7c5fb92b9614805f16fec41dfb87a8bf6b7f3348ceade0800bccd72c4e5b72bcd4ab8bf28768ecda9d912c1b4c78047 Role-Tiny-2.000006.tar.gz"