mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
30 lines
1 KiB
Bash
30 lines
1 KiB
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Wael Nasreddine <gandalf@siemens-mobiles.org>
|
||
|
|
||
|
pkgname=perl-inline-java
|
||
|
pkgver=0.52
|
||
|
pkgrel=3
|
||
|
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' 'j2sdk')
|
||
|
license=("GPL" "PerlArtistic")
|
||
|
url="http://search.cpan.org/dist/Java.pod"
|
||
|
source=(http://cpan.org/modules/by-module/Inline/Inline-Java-0.50.tar.gz \
|
||
|
make_questions.patch)
|
||
|
md5sums=('4a718a4dd0ece89415d2df74c9991e41' '043010c61f5277e85739913b849c445a')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/Inline-Java-0.50
|
||
|
|
||
|
# I hate make questions :s
|
||
|
patch -Np0 -i $startdir/src/make_questions.patch
|
||
|
|
||
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor J2SDK=/opt/java || return 1
|
||
|
make java || return 1
|
||
|
make || return 1
|
||
|
make install DESTDIR=$startdir/pkg || return 1
|
||
|
find $startdir/pkg -name '.packlist' -delete
|
||
|
find $startdir/pkg -name '*.pod' -delete
|
||
|
}
|