diff options
author | Kiyoshi Aman <adelie@aerdan.vulpine.house> | 2020-02-14 12:19:55 -0500 |
---|---|---|
committer | Kiyoshi Aman <adelie@aerdan.vulpine.house> | 2020-02-14 12:19:55 -0500 |
commit | a434ec330036cce835fc97013f87afa99947239a (patch) | |
tree | 68c4965f983a730a72d61e2c25ee6e01f48399e5 /user/perl-extutils-cbuilder/APKBUILD | |
parent | 8283bbdd2e099c5e397da24c21dc77636fef6ec8 (diff) | |
download | packages-a434ec330036cce835fc97013f87afa99947239a.tar.gz packages-a434ec330036cce835fc97013f87afa99947239a.tar.bz2 packages-a434ec330036cce835fc97013f87afa99947239a.tar.xz packages-a434ec330036cce835fc97013f87afa99947239a.zip |
user/perl-extutils-cbuilder: new package
Diffstat (limited to 'user/perl-extutils-cbuilder/APKBUILD')
-rw-r--r-- | user/perl-extutils-cbuilder/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/user/perl-extutils-cbuilder/APKBUILD b/user/perl-extutils-cbuilder/APKBUILD new file mode 100644 index 000000000..33c95171b --- /dev/null +++ b/user/perl-extutils-cbuilder/APKBUILD @@ -0,0 +1,33 @@ +# 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" |