summaryrefslogtreecommitdiff
path: root/user/perl-extutils-cbuilder
diff options
context:
space:
mode:
authorCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
committerCyberLeo <cyberleo@cyberleo.net>2020-03-28 05:45:52 -0500
commit9297468fa579836e3a6a381b798feb6b78217c2d (patch)
tree53168212f427afbcf0693b534530a4af803152e9 /user/perl-extutils-cbuilder
parenta63cc05c53a6f4c22422dc8c69808b14d87a6f6e (diff)
parentda5a69b65a8791fffa6e93366ee585f87eff136d (diff)
downloadpackages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.gz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.bz2
packages-9297468fa579836e3a6a381b798feb6b78217c2d.tar.xz
packages-9297468fa579836e3a6a381b798feb6b78217c2d.zip
Merge branch 'master' into zfs
Diffstat (limited to 'user/perl-extutils-cbuilder')
-rw-r--r--user/perl-extutils-cbuilder/APKBUILD33
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..98df541b9
--- /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="noarch"
+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"