diff options
Diffstat (limited to 'java/jna/PKGBUILD')
-rw-r--r-- | java/jna/PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/java/jna/PKGBUILD b/java/jna/PKGBUILD index db5f552cb..f7248a637 100644 --- a/java/jna/PKGBUILD +++ b/java/jna/PKGBUILD @@ -13,16 +13,15 @@ source=("git://github.com/twall/jna.git#tag=${pkgver}" #### -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') depends=('java-environment' 'libffi') -makedepends=('apache-ant' 'zip') -checkdepends=('junit' 'icedtea-web-java7') +makedepends=('apache-ant' 'zip' 'makepkg-git' 'git') +checkdepends=('icedtea-web-java7' 'junit' 'libxtst') options=('!makeflags') unset _JAVA_OPTIONS _M2_LOCALREPO='/usr/share/maven/repository' -. /etc/profile.d/jdk.sh _ant_options=( '-Ddynlink.native=true' # use the system install of libffi @@ -30,7 +29,7 @@ _ant_options=( #### -mksource() { +prepare() { cd "$srcdir/jna" find . -name '*.jar' -delete rm -rf dist @@ -51,7 +50,6 @@ mksource() { #### build() { - mksource cd "$srcdir/jna" # Because JNA's release process is ridiculous, it wants a jar file for every @@ -79,7 +77,7 @@ check() { # Create a foke home directory to trash mkdir "$srcdir/user.home" - export _JAVA_OPTIONS="-Duser.home=$srcdir/user.home" + export _JAVA_OPTIONS="-Duser.home=$srcdir/user.home -Djava.awt.headless=true" # The webstart test looks for this config file mkdir -p "$srcdir/user.home/.java/deployment" |