summaryrefslogblamecommitdiff
path: root/user/perl-extutils-cbuilder/APKBUILD
blob: 7d0d96517429bdc8a2944eb53226ac3aca5e39d0 (plain) (tree)
1
2
3
4
5
6
7
8

                                                           




                               
               


                                                         
             
                                       

                      
                          
















                                                                                        
                                                                                                                                                                                
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=perl-extutils-cbuilder
_pkgreal=ExtUtils-CBuilder
_author=AMBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.280236
pkgrel=0
pkgdesc="Perl module for writing C code for Perl modules"
url="https://metacpan.org/pod/ExtUtils::CBuilder"
arch="noarch"
license="Artistic-1.0-Perl OR GPL-1.0+"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/ExtUtils-CBuilder-$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="5477d2e7c03195fd72f78528808d144701c5de2fb65b14c8b39ed62dd6274bd75b1208d443a075de23fae1f00b8dbf74cf882c85691ae88c592f9acb3627fb96  ExtUtils-CBuilder-0.280236.tar.gz"