summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6ce9f95625544b3c46f6022013470557c3acd600 (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
# Contributor: CpanBot <cpanbot at sch bme hu>
# Generator  : CPANPLUS::Dist::Arch 1.32

pkgname='perl-catalyst-runtime'
pkgver='5.90131'
pkgrel='1'
pkgdesc="The Catalyst Framework Runtime"
arch=('any')
license=('PerlArtistic' 'GPL')
options=('!emptydirs')
depends=('perl-cgi-simple>=0' 'perl-cgi-struct>=0' 'perl-class-c3-adopt-next>=0.07' 'perl-class-load>=0.12' 'perl-data-dump>=0' 'perl-data-optlist>=0' 'perl-html-parser>=0' 'perl-http-body>=1.22' 'perl-http-message>=0' 'perl-hash-multivalue>=0' 'perl-json-maybexs>=1.000000' 'perl-mro-compat>=0' 'perl-module-pluggable>=0' 'perl-moose>=2.1400' 'perl-moosex-emulate-class-accessor-fast>=0.00903' 'perl-moosex-getopt>=0.48' 'perl-moosex-methodattributes>=0' 'perl-path-class>=0.09' 'perl-perlio-utf8-strict>=0' 'perl-plack>=0.9991' 'perl-plack-middleware-fixmissingbodyinredirect>=0.09' 'perl-plack-middleware-methodoverride>=0.12' 'perl-plack-middleware-removeredundantbody>=0.03' 'perl-plack-middleware-reverseproxy>=0.04' 'perl-plack-test-externalserver>=0' 'perl-safe-isa>=0' 'perl-stream-buffered>=0' 'perl-string-rewriteprefix>=0.004' 'perl-sub-exporter>=0' 'perl-task-weaken>=0' 'perl-text-simpletable>=0.03' 'perl-tree-simple>=1.15' 'perl-tree-simple-visitorfactory>=0' 'perl-try-tiny>=0.17' 'perl-uri>=1.65' 'perl-uri-ws>=0.03' 'perl-libwww>=0' 'perl-namespace-clean>=0.23' 'perl>=5.8.3')
makedepends=()
checkdepends=('perl-test-fatal>=0')
url='https://metacpan.org/release/Catalyst-Runtime'
source=('http://search.cpan.org/CPAN/authors/id/J/JJ/JJNAPIORK/Catalyst-Runtime-5.90131.tar.gz')
md5sums=('2b483e34f932b20e465379a5a1843b68')
sha512sums=('0655e328563de48de4a7ce4043bc47a6b0422c5ab2109ceb45b32d85887affd8176f578beb7986707e778ee5e8def6c7afc92c6cc3b4a758a5d7a5dd70ca2bc9')
_distdir="Catalyst-Runtime-5.90131"

build() {
  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
      PERL_AUTOINSTALL=--skipdeps                            \
      PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
      PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
      MODULEBUILDRC=/dev/null

    cd "$srcdir/$_distdir"
    /usr/bin/perl Makefile.PL
    make
  )
}

check() {
  cd "$srcdir/$_distdir"
  ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
    make test
  )
}

package() {
  cd "$srcdir/$_distdir"
  make install
  find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}

# Local Variables:
# mode: shell-script
# sh-basic-offset: 2
# End:
# vim:set ts=2 sw=2 et: