summaryrefslogtreecommitdiff
path: root/community/perl-inline-java/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
committerroot <root@rshg047.dnsready.net>2011-06-29 23:10:39 +0000
commit5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch)
tree438c05155823f16b71f4277fef949610bf6fe826 /community/perl-inline-java/PKGBUILD
parent108636e69eaeef67f4e7263c7f26105e25979e89 (diff)
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/perl-inline-java/PKGBUILD')
-rw-r--r--community/perl-inline-java/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/perl-inline-java/PKGBUILD b/community/perl-inline-java/PKGBUILD
index d5ba906dc..d9396fc00 100644
--- a/community/perl-inline-java/PKGBUILD
+++ b/community/perl-inline-java/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 36952 2011-01-10 21:37:18Z spupykin $
+# $Id: PKGBUILD 47531 2011-05-23 18:37:03Z jelle $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
pkgname=perl-inline-java
pkgver=0.53
-pkgrel=1
+pkgrel=2
pkgdesc="The Inline::Java module allows you to put Java source code directly inline in a Perl script or module."
arch=('i686' 'x86_64')
depends=('perl' 'perl-inline' 'java-runtime')
@@ -13,12 +13,16 @@ license=("GPL" "PerlArtistic")
url="http://search.cpan.org/dist/Inline-Java"
source=(http://search.cpan.org/CPAN/authors/id/P/PA/PATL/Inline-Java-$pkgver.tar.gz)
md5sums=('23f96c2ac4915302c3647c0abc92916f')
+options=('!emptydirs')
build() {
cd $srcdir/Inline-Java-$pkgver
- yes | PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor J2SDK=$J2SDKDIR
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor J2SDK=$J2SDKDIR
make java
make
+}
+package() {
+ cd $srcdir/Inline-Java-$pkgver
make install DESTDIR=$pkgdir
find $pkgdir -name '.packlist' -delete
find $pkgdir -name '*.pod' -delete