summaryrefslogblamecommitdiff
path: root/user/perl-extutils-pkgconfig/APKBUILD
blob: 320f856d41c06ae78b2951a482c255deb5c1230c (plain) (tree)
1
2
3
4
5
6
7
                                                           
                                                          

                               


                               





                                                     

                      
                          
                                                                                       

                                    
         
                                                                 



            



                 




                                                                                                                                                                             
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-extutils-pkgconfig
_pkgreal=ExtUtils-PkgConfig
_author=XAOC
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=1.16
pkgrel=2
pkgdesc="Perl interface to pkg-config"
url="https://metacpan.org/release/ExtUtils-PkgConfig"
arch="noarch"
license="LGPL-2.1-only"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://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="a872fd54aa5bf3137ace9c44457dfc047ea6d283accc453e824b609b6996a8e2fab685459f38a8236419155df01a18421671426a7237639a47ab32e18c9b4191  ExtUtils-PkgConfig-1.16.tar.gz"