blob: 4d9f4cd66bb6c0a08ef252508d9d9fe773929357 (
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
|
# Maintainer: ryoskzypu <ryoskzypu@proton.me>
# Contributor: Michał Wojdyła < micwoj9292 at gmail dot com >
# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
_author=HAARG
_dist=Catalyst-Action-RenderView
pkgname=perl-${_dist@L}
pkgver=0.17
pkgrel=3
pkgdesc='Sensible default end action.'
arch=('any')
url=https://metacpan.org/dist/$_dist
license=('Artistic-1.0-Perl OR GPL-1.0-or-later')
depends=(
'perl-catalyst-runtime>=5.80030'
'perl-data-visitor>=0.24'
'perl-mro-compat'
'perl>=5.8.5'
)
makedepends=('perl-extutils-makemaker')
checkdepends=(
'perl-extutils-makemaker'
'perl-io'
'perl-pathtools'
'perl-test-simple'
)
optdepends=('perl-cpan-meta')
options=('!emptydirs')
source=("https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_dist-$pkgver.tar.gz")
sha256sums=('71f6d5fd9f358611d1457c0c6b3fbe18224a4133e395e58d2a5ae4232f2761a5')
build()
{
cd "$_dist-$pkgver"
unset PERL_MM_OPT PERL5LIB PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1
/usr/bin/perl Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
make
}
check()
{
cd "$_dist-$pkgver"
unset PERL5LIB PERL_LOCAL_LIB_ROOT
make test
}
package()
{
cd "$_dist-$pkgver"
unset PERL5LIB PERL_LOCAL_LIB_ROOT
make install INSTALLDIRS=vendor DESTDIR="$pkgdir"
}
|