diff options
Diffstat (limited to 'user/perl-type-tiny')
-rw-r--r-- | user/perl-type-tiny/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-type-tiny/APKBUILD b/user/perl-type-tiny/APKBUILD new file mode 100644 index 000000000..9e4cd812c --- /dev/null +++ b/user/perl-type-tiny/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-type-tiny +pkgver=1.004002 +pkgrel=0 +pkgdesc="Tiny Moo(se) compatible type constraint" +url="https://metacpan.org/release/Type-Tiny" +arch="noarch" +license="Artistic-1.0-Perl" +depends="perl-exporter-tiny" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-$pkgver.tar.gz" +builddir="$srcdir/Type-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="fcdd8740e1ef6a2c5d214a54b57e65ebd222188377ebdd7bbdadc74741f3a5d00ba4a7490628bfb7cc937a32f5d5a578963ea1b6208e8fb99f095f2c3239cf82 Type-Tiny-1.004002.tar.gz" |