blob: b66b5c2ec8885c374a04a19691b2d0448b694853 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# Maintainer:
pkgname='perl-rex'
pkgver='1.14.3'
pkgrel='1'
pkgdesc="(R)?ex, the friendly automation framework"
arch=('any')
license=('Apache-2.0')
options=('!emptydirs')
depends=(
#'perl-aws-signature4' # doesn't build, no time to check what is wrong atm.
'perl-data-validate-ip'
'perl-devel-caller'
'perl-digest-hmac'
'perl-file-sharedir-install'
'perl-hash-merge'
'perl-http-message'
'perl-io-pty-easy'
'perl-io-string'
'perl-json-maybexs'
'perl-list-moreutils'
'perl-libwww'
'perl-net-openssh'
'perl-net-sftp-foreign'
'perl-net-ssh2'
'perl-scalar-list-utils'
'perl-sort-naturally'
'perl-sub-override'
'perl-term-readkey'
'perl-test-deep'
'perl-test-exception'
'perl-test-output'
'perl-test-simple'
'perl-test-useallmodules'
'perl-test-warnings'
'perl-text-glob'
'perl-uri'
'perl-xml-simple'
'perl-yaml')
optdepends=(
'perl-file-libmagic'
'perl-string-escape'
'perl-xml-libxml'
)
makedepends=()
url='https://www.rexify.org/'
source=('https://cpan.metacpan.org/authors/id/F/FE/FERKI/Rex-1.14.3.tar.gz')
md5sums=('3e07630f51108e93d8866e4f3501fb4e')
sha256sums=('027d3042ef940b67590e5989e96f22ae1e67ba744895c5dd3db569c05137025c')
_distdir="Rex-1.14.3"
build()
(
cd "$srcdir/$_distdir"
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
unset PERL5LIB PERL_MM_OPT
/usr/bin/perl Makefile.PL
make
)
check()
(
cd "$srcdir/$_distdir"
export PERL_MM_USE_DEFAULT=1
unset PERL5LIB
make test
)
package()
(
cd "$srcdir/$_distdir"
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
)
|