blob: 26c48108fbfd916cd6d613cf65a5a1facd01bd01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Mantainer: baest <m at frausing dot me>
#
pkgname=perl-app-cpm
_lastauthor=S/SK/SKAJI
_pkgname=App-cpm
pkgver=0.997017
pkgrel=1
pkgdesc='a fast CPAN module installer'
arch=('any')
license=('PerlArtistic' 'GPL')
depends=(
perl-class-tiny
perl-command-runner
perl-cpan-common-index
perl-cpan-distnameinfo
perl-cpan-meta
perl-extutils-installpaths
perl-file-copy-recursive
perl-file-pushd
perl-http-tinyish
perl-json-pp
perl-local-lib
perl-menlo-legacy
perl-module-cpanfile
perl-parallel-pipes
perl-parse-pmfile
)
url="https://metacpan.org/release/${_pkgname}"
source=(https://cpan.metacpan.org/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz)
sha256sums=('3998ac451276113f4ff2e33fd20bc7cdbccab069ee20a7b35d980d845b467297')
build() {
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \
PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build.PL
perl Build
}
check() {
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build test
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
perl Build install
}
|