summaryrefslogtreecommitdiff
path: root/user/perl-extutils-cbuilder/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/perl-extutils-cbuilder/APKBUILD')
-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"