Commit 84a0f208 authored by Leo's avatar Leo

main/perl-type-tiny: upgrade to 1.008000

parent e2812acb
......@@ -3,22 +3,20 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-type-tiny
_pkgreal=Type-Tiny
pkgver=1.006000
pkgver=1.008000
pkgrel=0
pkgdesc="tiny, yet Moo(se)-compatible type constraint"
url="http://search.cpan.org/dist/Type-Tiny/"
url="https://metacpan.org/release/Type-Tiny"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-exporter-tiny"
cpanmakedepends=" perl-test-warnings"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl-exporter-tiny"
makedepends="perl-dev perl-test-warnings"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK/$_pkgreal-$pkgver.tar.gz"
source="https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
default_prepare
cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
......@@ -33,8 +31,8 @@ build() {
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="77502a89baf6d4999e4bbb84fff21f46d03f65602bf472e8c5d37db6601106d2395645b76f997b796ffc6fadbbb3b119bed09060cc1bb9dafaf6ed9342392905 Type-Tiny-1.006000.tar.gz"
sha512sums="4cf6cc90f05ca53e84c27cb672fb23cfec4912ac8ee14f234724a069d4c7c5c4492db40f091e8b2e21453dd9016765bf75aec62927082165f4b9f5e5298b5034 Type-Tiny-1.008000.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment