summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2022-05-04 20:17:46 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commitddc79e7b7739f219bc200a7112b8c549d01fe619 (patch)
tree9ae807eaf1fd1b6cc1f25150d7cfb02b5734d9a1
parent48698a8c4390458603042e695eab2728fc1e6e22 (diff)
downloadpackages-ddc79e7b7739f219bc200a7112b8c549d01fe619.tar.gz
packages-ddc79e7b7739f219bc200a7112b8c549d01fe619.tar.bz2
packages-ddc79e7b7739f219bc200a7112b8c549d01fe619.tar.xz
packages-ddc79e7b7739f219bc200a7112b8c549d01fe619.zip
user/perl-extutils-cchecker: new package
-rw-r--r--user/perl-extutils-cchecker/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-extutils-cchecker/APKBUILD b/user/perl-extutils-cchecker/APKBUILD
new file mode 100644
index 000000000..b0646acda
--- /dev/null
+++ b/user/perl-extutils-cchecker/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=perl-extutils-cchecker
+_pkgreal=ExtUtils-CChecker
+_author=PEVANS
+_au=${_author%%"${_author#??}"}
+_a=${_author%%"${_author#?}"}
+pkgver=0.11
+pkgrel=0
+pkgdesc="Configure-time utilities for checking C headers, libraries, or OS features"
+url="https://metacpan.org/pod/ExtUtils::CChecker"
+arch="all"
+license="GPL-1.0+ OR Artistic-1.0-Perl"
+depends="perl"
+checkdepends="perl-test-fatal"
+makedepends="perl-module-build"
+subpackages="$pkgname-doc"
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+build() {
+ perl Build.PL --destdir="$pkgdir" --prefix="/usr" --installdirs="vendor"
+ ./Build
+}
+
+check() {
+ ./Build test
+}
+
+package() {
+ ./Build install
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="4b638e5082443eafcf2f3586ec8ff20ee62b054f8bc24149dd7a2549f57ca748618f76c057f456eadca4e5c4099071ee2d1c8993a13e2f5ea8924cd92319dd8c ExtUtils-CChecker-0.11.tar.gz"