aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-package-stash-xs/APKBUILD
blob: eae10ec903204c54720a0bd0ced60909cc2ce649 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      

                                                           

                             
           
        
                                                                          
                                                    


                          

                                                             
                      
                                       
                                
                          

                                                                                 
 

                      
                                                                 
            

 


                      


           

                                      


                                                                           
                                                                                                                                                                           
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-package-stash-xs
_pkgreal=Package-Stash-XS
pkgver=0.29
pkgrel=3
pkgdesc="faster and more correct implementation of the Package::Stash API"
url="https://metacpan.org/release/Package-Stash-XS/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-test-requires perl-test-fatal perl-yaml
	perl-module-runtime perl-sub-name perl-pod-coverage"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
checkdepends="perl-package-anon"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$_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="f7afcf1a67915d9990a8d63e418ebc6b6b48947b90a72a454b8197656233d8cc976f72d44e4179621628e52fa7ab9a9a74f18f95ad1999d3f45181531ed44849  Package-Stash-XS-0.29.tar.gz"