diff options
Diffstat (limited to 'user/perl-type-tiny')
-rw-r--r-- | user/perl-type-tiny/APKBUILD | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/user/perl-type-tiny/APKBUILD b/user/perl-type-tiny/APKBUILD index 825483cce..a70acda21 100644 --- a/user/perl-type-tiny/APKBUILD +++ b/user/perl-type-tiny/APKBUILD @@ -1,33 +1,34 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> -# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=perl-type-tiny -pkgver=1.004004 +_pkgreal=Type-Tiny +_author=TOBYINK +_au=${_author%%"${_author#??}"} +_a=${_author%%"${_author#?}"} +pkgver=2.004000 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" +license="Artistic-1.0-Perl OR GPL-1.0+" +depends="perl 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" +source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$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="a1e09c5a3369e0a9ea8e172d86e68e818a720c5c4d633103a442fe389f7a8a7b4a03b2487ffd09f184caf4eca94ef471cc9293b04557b8d4dd260649b4121673 Type-Tiny-1.004004.tar.gz" +sha512sums="a28a0fdfe48c8ce7f7313bfa6645094337dfb12d76401d9947a649763379a912f480ff418f0023d1e0c5851ffa347823669192a9eb8081341db7525d84c82220 Type-Tiny-2.004000.tar.gz" |