summaryrefslogblamecommitdiff
path: root/system/perl-extutils-config/APKBUILD
blob: 9fe8791350b3fb0a54d78bc0621fb4f510f1dfb1 (plain) (tree)
1
2
3
4
5
6
7
8




                                                                   


                               


                                                  
                                                  

                                           

              
                          
                                                                                        

                                    
         
                                                                 



            



                 




                                                                                                                                                                           
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-extutils-config
_pkgreal=ExtUtils-Config
_author=LEONT
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.008
pkgrel=0
pkgdesc="A wrapper library for Perl configuration"
url="https://metacpan.org/release/ExtUtils-Config"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="perl"
makedepends=""
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 || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="7775e2212b4605e60559c7e63604b8f2b4c56f4846e64f9f4454f3f5d0a7a21f618143e6c61eafabf5d9ee9bca8f722c04aedeaf9c51f59924de68c272b86db2  ExtUtils-Config-0.008.tar.gz"