diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-12-31 17:29:39 -0300 |
commit | 6f102d1647580e0bb9513c124b26a64c77da4f15 (patch) | |
tree | 0340f1f588be251183fe2b251bdba778f2c85c22 /java/jna/PKGBUILD | |
parent | 433900b14f11dc9ee55b72e8e5946bf47f65b636 (diff) | |
parent | b6cb10de275cea63bab0bee2a98342afa4fdc4ee (diff) | |
download | abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.gz abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.tar.bz2 abslibre-6f102d1647580e0bb9513c124b26a64c77da4f15.zip |
Merge branch 'master' of ssh://gparabola/srv/git/abslibre
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" |