mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 11:15:13 +03:00
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-app-cpm
|
|
pkgver=0.997023
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=App-cpm
|
|
pkgdesc="Fast CPAN module installer"
|
|
url="https://metacpan.org/release/App-cpm/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl perl-parallel-pipes perl-module-cpmfile
|
|
perl-extutils-installpaths perl-module-cpanfile
|
|
perl-command-runner perl-file-copy-recursive
|
|
perl-proc-forksafe perl-cpan-02packages-search
|
|
perl-http-tinyish perl-io-socket-ssl perl-file-pushd
|
|
perl-menlo-legacy perl-parse-pmfile perl-local-lib
|
|
perl-cpan-distnameinfo
|
|
"
|
|
makedepends="perl-module-build-tiny"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/S/SK/SKAJI/App-cpm-$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="
|
|
3d90b37244b56590347a0ae56527809ee29269824b761592c4b45903c4af6f9bc86857751a516ed01702e32b8692c5ae2e09f7480db575dc6d896124bd0e6978 App-cpm-0.997023.tar.gz
|
|
"
|