1 # Maintainer: Petrenko Alexey <alexey-p at uralweb dot ru>
5 pkgdesc="Pure-Perl ECMAScript (JavaScript) Engine"
7 url="http://search.cpan.org/~sprout/JE-0.055/"
8 license=('GPL' 'PerlArtistic')
9 depends=('perl>=5.10.0' 'perl-timedate')
11 source=("http://search.cpan.org/CPAN/authors/id/S/SP/SPROUT/JE-$pkgver.tar.gz")
12 md5sums=('70b9c0d8053a2f4fdd5be8ec9ef6bb04')
15 cd "$srcdir/JE-$pkgver"
17 # install module in vendor directories.
18 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
21 make install DESTDIR="$pkgdir/" || return 1
23 # remove perllocal.pod and .packlist
24 find "$pkgdir" -name perllocal.pod -delete
25 find "$pkgdir" -name .packlist -delete