summaryrefslogblamecommitdiff
path: root/user/perl-class-load/APKBUILD
blob: fa5fdc76137547949ab3ede0c65b53efb360287f (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
_pkgreal=Class-Load
_author=ETHER
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.25
pkgrel=0
pkgdesc="Perl module for loading classes"
url="https://metacpan.org/release/Class-Load"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl-data-optlist perl-module-implementation perl-module-runtime
	perl-package-stash perl-try-tiny"
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="feacb4ae99358d3dc45b23b2d7cc814603e59a72424e7e0620d4939fa6d6206a1bb123c010b49013ce4764df11dc7c04fc1d7bd5783c61a391310bcb653e7ca4  Class-Load-0.25.tar.gz"