archrelease: copy trunk to community-any
[ArchLinux/community.git] / perl-specio / trunk / PKGBUILD
blobdfdc86f9565fd79464f0f658fa253e6e9886b8a4
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 pkgname=perl-specio
4 pkgver=0.48
5 pkgrel=1
6 pkgdesc="Type constraints and coercions for Perl"
7 arch=('any')
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')
15 build() {
16   cd  "$srcdir"/Specio-$pkgver
17   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor 
18   make
20 package() {
21   cd  "$srcdir"/Specio-$pkgver
22   make install DESTDIR="$pkgdir"
23   find "$pkgdir" -name '.packlist' -delete
24   find "$pkgdir" -name '*.pod' -delete