updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / perl-devel-repl / PKGBUILD
blob89a41c9c73cda79aac011782b040e9d0c66fc1f3
1 # CPAN Name  : Devel-REPL
2 # Contributor: Justin Davis <jrcd83@gmail.com>
3 # Generator  : CPANPLUS::Dist::Arch 1.10
4 pkgname='perl-devel-repl'
5 pkgver='1.003012'
6 pkgrel='1'
7 pkgdesc="a modern perl interactive shell"
8 arch=('any')
9 license=('PerlArtistic' 'GPL')
10 options=('!emptydirs')
11 depends=('perl-data-dumper-concise' 'perl-file-homedir' 'perl-file-next' 'perl-lexical-persistence' 'perl-moose>=0.74' 'perl-moosex-attributehelpers>=0.16' 'perl-moosex-getopt>=0.18' 'perl-moosex-object-pluggable>=0.0009' 'perl-namespace-clean' 'perl-task-weaken')
12 makedepends=()
13 optdepends=('perl-data-dump-streamer: better format results'
14             'perl-data-dumper-concise: even better format results'
15             'perl-file-next: tab complete module names in use and require'
16             'perl-sys-sigaction: traps SIGINT to kill long-running lines'
17             'perl-b-keywords: tab complete perl keywords and operators'
18             'perl-lexical-persistence: keep "my" vars between statements'
19             'perl-ppi: better tab completion, block reading, dumping'
20             'perl-app-nopaste: upload a sessions input/output to pastebin'
21             'perl-module-refresh: automatically reload libraries')
22 url='http://search.cpan.org/dist/Devel-REPL'
23 source=('http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Devel-REPL-1.003012.tar.gz')
24 md5sums=('bff993f2799b2e2cfbc89fbb74607106')
26 build() {
27   PERL=/usr/bin/perl
28   DIST_DIR="${srcdir}/Devel-REPL-1.003012"
29   export PERL_MM_USE_DEFAULT=1 PERL5LIB=""                 \
30     PERL_AUTOINSTALL=--skipdeps                            \
31     PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'"     \
32     PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
33     MODULEBUILDRC=/dev/null
35   cd "$DIST_DIR"
36   $PERL Makefile.PL
37   make
38   make test
39   make install
41   find "$pkgdir" -name .packlist -o -name perllocal.pod -delete