mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
testing/perl-module-build-prereqs-fromcpanfile: new aport
https://metacpan.org/release/Module-Build-Prereqs-FromCPANfile/ Construct prereq parameters of Module::Build from cpanfile
This commit is contained in:
parent
18e04a0a54
commit
a8dcdf0bd1
36
testing/perl-module-build-prereqs-fromcpanfile/APKBUILD
Normal file
36
testing/perl-module-build-prereqs-fromcpanfile/APKBUILD
Normal file
@ -0,0 +1,36 @@
|
||||
# Automatically generated by apkbuild-cpan, template 4
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-module-build-prereqs-fromcpanfile
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Module-Build-Prereqs-FromCPANfile
|
||||
pkgver=0.02
|
||||
pkgrel=0
|
||||
pkgdesc="Construct prereq parameters of Module::Build from cpanfile"
|
||||
url="https://metacpan.org/release/Module-Build-Prereqs-FromCPANfile/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-module-build perl-module-cpanfile"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/T/TO/TOSHIOITO/Module-Build-Prereqs-FromCPANfile-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
perl Build.PL \
|
||||
--installdirs=vendor \
|
||||
--create_packlist=0
|
||||
./Build
|
||||
}
|
||||
|
||||
check() {
|
||||
./Build test
|
||||
}
|
||||
|
||||
package() {
|
||||
./Build install --destdir="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
29078020fb2638c9032cc28ca37caa12b530a6302be099dce437f89536dc5aae9aaacdecf42c6c7b2d41c40443eb03a8008855068f47ff203c75024e5175c8cd Module-Build-Prereqs-FromCPANfile-0.02.tar.gz
|
||||
"
|
||||
Loading…
x
Reference in New Issue
Block a user