summaryrefslogblamecommitdiff
path: root/user/perl-module-implementation/APKBUILD
blob: 05f05ae2d1775e294096ace1b5fb5e86903b4ae7 (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-module-implementation
_pkgreal=Module-Implementation
_author=DROLSKY
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.09
pkgrel=0
pkgdesc="Loads an underlying implementation of a Perl module"
url="https://metacpan.org/release/Module-Implementation"
arch="noarch"
license="Artistic-2.0"
depends="perl perl-module-runtime perl-try-tiny"
checkdepends="perl-test-fatal perl-test-requires"
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="049f967ba1bd8a3914968b34006030ae318d99ac629a0f34736f1c2b5392490c30aa0914e777eaefda7f0f58755d2d3363a266b90db59b53fe145ef68e1d953c  Module-Implementation-0.09.tar.gz"