1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
6 pkgdesc="Type constraints and coercions for Perl"
8 url="https://search.cpan.org/dist/Specio"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl-role-tiny' 'perl-test-fatal' 'perl-mro-compat' 'perl-devel-stacktrace')
11 options=('!emptydirs')
12 source=(https://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Specio-$pkgver.tar.gz)
13 sha256sums=('0c85793580f1274ef08173079131d101f77b22accea7afa8255202f0811682b2')
16 cd "$srcdir"/Specio-$pkgver
17 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
21 cd "$srcdir"/Specio-$pkgver
22 make install DESTDIR="$pkgdir"
23 find "$pkgdir" -name '.packlist' -delete
24 find "$pkgdir" -name '*.pod' -delete