summaryrefslogblamecommitdiff
path: root/user/perl-specio/APKBUILD
blob: e4b98e93005ae41df4ba02294ff6d1c1d3b9e512 (plain) (tree)
1
2
3
4
5
6
7
8


                                                                   



                               
           







                                                                         
                              
              
                          

                                                                                        

         




                                                                 



                 



                                                                           
                                                                                                                                                                 
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-specio
_pkgreal=Specio
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.45
pkgrel=0
pkgdesc="Type constraints and coercions for Perl"
url="https://metacpan.org/release/Specio"
arch="noarch"
license="Artistic-2.0"
depends="perl-devel-stacktrace perl-eval-closure perl-mro-compat
	perl-module-runtime perl-role-tiny perl-sub-quote perl-test-fatal
	perl-try-tiny"
checkdepends="perl-test-needs"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="28c32b155ddd1537e2ed2e634b667c4010903a4c68e4684f07f4bb74414eeaf5f5ef05f4ed898c830751abfacc51280b00970250db1b2e1219acc23e834994d7  Specio-0.45.tar.gz"