summaryrefslogblamecommitdiff
path: root/system/perl-module-build/APKBUILD
blob: 9b8da579e90311a6b6fc1f0ed85e9bcc2d1009a4 (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: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-module-build
_pkgreal=Module-Build
_author=LEONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.4231
pkgrel=0
pkgdesc="Build and install Perl modules"
url="https://metacpan.org/release/Module-Build"
arch="noarch"
license="GPL-2.0-only AND Artistic-1.0-Perl"
depends="perl"
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 Build.PL --installdirs=vendor
	./Build
}

check() {
	./Build test
}

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

sha512sums="ee1dc18a7df3fe67e7f954d5e1e071aa0a6f5bce6783b768bceb01f071e64ac8be63f410c932c7c16764e5d4f52fc664ce11a12f26f6afc75a26f79883efad70  Module-Build-0.4231.tar.gz"