mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
testing/perl-carmel: new aport
https://metacpan.org/release/Carmel/ CPAN Artifact Repository Manager
This commit is contained in:
parent
2f49a1666d
commit
cba2934529
42
testing/perl-carmel/APKBUILD
Normal file
42
testing/perl-carmel/APKBUILD
Normal file
@ -0,0 +1,42 @@
|
||||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Contributor: Celeste <cielesti@protonmail.com>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-carmel
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Carmel
|
||||
pkgver=0.1.56
|
||||
pkgrel=0
|
||||
pkgdesc="CPAN Artifact Repository Manager"
|
||||
url="https://metacpan.org/release/Carmel/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="
|
||||
perl perl-file-copy-recursive perl-module-runtime
|
||||
perl-path-tiny perl-module-cpanfile perl-cpan-common-index
|
||||
perl-menlo-legacy perl-try-tiny perl-cpan-distnameinfo
|
||||
perl-class-tiny perl-file-pushd perl-carton
|
||||
perl-json perl-extutils-installpaths
|
||||
"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/Carmel-v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-v$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
a1e6ee2d313c9775891f0b4838c3fcbf356c2ff1aaec52a08208eeff0671a64facd780783f4d6c799ecfbcf0a689e671c5360a2a59c3eb0704d3ad7b8c52104d Carmel-v0.1.56.tar.gz
|
||||
"
|
Loading…
Reference in New Issue
Block a user