summaryrefslogblamecommitdiff
path: root/user/perl-class-load-xs/APKBUILD
blob: e8750bdee490e2dd4bb33870dff6494d7de6aca6 (plain) (tree)
1
2
3
4
5
6
7
                                                  
                                                          
                          



                               






                                                
                                              
                      
                          

                                                                                        

         




                                                                 



                 




                                                                                                                                                                        
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-class-load-xs
_pkgreal=Class-Load-XS
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.10
pkgrel=0
pkgdesc="Perl XS implementation of Class::Load"
url="https://metacpan.org/release/Class-Load-XS"
arch="all"
license="Artistic-2.0"
depends="perl-class-load"
checkdepends="perl-test-fatal perl-test-needs"
makedepends="perl-dev"
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="16ab845dc393567f0b0e9597eda7d7678b8a41d218823a166bacdfd4dc93e704a6aff98662340b8d7f4d045a60530071bb84ea8da8be5a6930af47722207d126  Class-Load-XS-0.10.tar.gz"