blob: 33c95171b679efffe1208b1e0e6a2e2dcfcbc0b7 (
plain) (
tree)
|
|
# Contributor: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-extutils-cbuilder
_pkgreal=ExtUtils-CBuilder
_author=AMBS
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=0.280234
pkgrel=0
pkgdesc="Perl module for writing C code for Perl modules"
url="https://metacpan.org/pod/ExtUtils::CBuilder"
arch="all"
license="Artistic-2.0 OR GPL-2.0-only"
depends="perl"
makedepends="perl-dev"
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="a87c71adb9c06a4080ee3c6493c5f3d83c7904709bdc73fd3e87800192b3a92f91d0ff3890e3c5fb28a19bbff120f4adcca629416547ca71f28c3dc7bc74ad5b ExtUtils-CBuilder-0.280234.tar.gz"
|