summaryrefslogtreecommitdiff
path: root/community/perl-inline-java/PKGBUILD
blob: 3d41840f6e4dc1c0a031cee55b607556e277d530 (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
# $Id: PKGBUILD 36952 2011-01-10 21:37:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>

pkgname=perl-inline-java
pkgver=0.53
pkgrel=1
pkgdesc="The Inline::Java module allows you to put Java source code directly inline in a Perl script or module."
arch=('i686' 'x86_64' 'mips64el')
depends=('perl' 'perl-inline' 'java-runtime')
makedepends=('java-environment')
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')

build() {
  cd $srcdir/Inline-Java-$pkgver
  yes | PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor J2SDK=$J2SDKDIR
  make java
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}