From af104c3c76c1bc914839e3226e601267e5c0c741 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Tue, 25 Sep 2018 21:23:21 -0700 Subject: user/perl-role-tiny: new package --- user/perl-role-tiny/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/perl-role-tiny/APKBUILD (limited to 'user/perl-role-tiny') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2