diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 19:17:27 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-10-01 19:17:27 +0000 |
commit | d647956ee6ae4fda857fc4ebfc8ad116e77c4d74 (patch) | |
tree | 1d9c1edf1c08114832a3ca137fe798f03bef2d66 /user/perl-type-tiny | |
parent | aa57141c84257e2c5194af5e462e3618e9c37dd4 (diff) | |
download | packages-d647956ee6ae4fda857fc4ebfc8ad116e77c4d74.tar.gz packages-d647956ee6ae4fda857fc4ebfc8ad116e77c4d74.tar.bz2 packages-d647956ee6ae4fda857fc4ebfc8ad116e77c4d74.tar.xz packages-d647956ee6ae4fda857fc4ebfc8ad116e77c4d74.zip |
user/perl-type-tiny: new package
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" |