blob: fa9d6e30b4d42dd25b2a3750cd92a2b9650f1ae5 (
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
|
# Mantainer: 3ED <krzysztof1987 at gmail dot com>
#
pkgname=perl-command-runner
_lastauthor=S/SK/SKAJI
_pkgname=Command-Runner
pkgver=0.200
pkgrel=1
pkgdesc='run external commands and Perl code refs'
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl-capture-tiny' 'perl-string-shellquote' 'perl-file-pushd')
url="https://metacpan.org/release/${_pkgname}/"
source=("https://cpan.metacpan.org/authors/id/${_lastauthor}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('5ad26d06111bfecd53c8f5bb5dea94bf2025f6c78e95f6d8012e4cfa89e29f26')
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
}
|