From a434ec330036cce835fc97013f87afa99947239a Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Fri, 14 Feb 2020 12:19:55 -0500 Subject: user/perl-extutils-cbuilder: new package --- user/perl-extutils-cbuilder/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 user/perl-extutils-cbuilder/APKBUILD (limited to 'user/perl-extutils-cbuilder') 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 +# Maintainer: Adélie Perl Team +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" -- cgit v1.2.3-70-g09d2 From 1ec572b3a1c91a0a5d49fd97379dc3e3dd66d1e8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 17 Feb 2020 01:45:01 +0000 Subject: user/perl-*: Mark pure Perl packages 'noarch' --- user/perl-extutils-cbuilder/APKBUILD | 2 +- user/perl-extutils-parsexs/APKBUILD | 2 +- user/perl-moox-struct/APKBUILD | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'user/perl-extutils-cbuilder') diff --git a/user/perl-extutils-cbuilder/APKBUILD b/user/perl-extutils-cbuilder/APKBUILD index 33c95171b..98df541b9 100644 --- a/user/perl-extutils-cbuilder/APKBUILD +++ b/user/perl-extutils-cbuilder/APKBUILD @@ -9,7 +9,7 @@ pkgver=0.280234 pkgrel=0 pkgdesc="Perl module for writing C code for Perl modules" url="https://metacpan.org/pod/ExtUtils::CBuilder" -arch="all" +arch="noarch" license="Artistic-2.0 OR GPL-2.0-only" depends="perl" makedepends="perl-dev" diff --git a/user/perl-extutils-parsexs/APKBUILD b/user/perl-extutils-parsexs/APKBUILD index feb576d92..8aceb730f 100644 --- a/user/perl-extutils-parsexs/APKBUILD +++ b/user/perl-extutils-parsexs/APKBUILD @@ -9,7 +9,7 @@ pkgver=3.35 pkgrel=0 pkgdesc="Perl module for converting XS code into C" url="https://metacpan.org/pod/ExtUtils::ParseXS" -arch="all" +arch="noarch" license="Artistic-2.0 OR GPL-2.0-only" depends="perl" makedepends="perl-dev" diff --git a/user/perl-moox-struct/APKBUILD b/user/perl-moox-struct/APKBUILD index 645c41e93..116e1a0cc 100644 --- a/user/perl-moox-struct/APKBUILD +++ b/user/perl-moox-struct/APKBUILD @@ -9,7 +9,7 @@ pkgver=0.017 pkgrel=0 pkgdesc="Structures for the Moo Perl object framework" url="https://metacpan.org/pod/MooX::Struct" -arch="all" +arch="noarch" license="Artistic-2.0 OR GPL-2.0-only" depends="perl perl-moo perl-namespace-clean perl-object-id perl-type-tiny" makedepends="perl-dev" -- cgit v1.2.3-70-g09d2