diff options
Diffstat (limited to 'abs/extra/java-common/PKGBUILD')
-rw-r--r-- | abs/extra/java-common/PKGBUILD | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/abs/extra/java-common/PKGBUILD b/abs/extra/java-common/PKGBUILD index 502622e..97f7585 100644 --- a/abs/extra/java-common/PKGBUILD +++ b/abs/extra/java-common/PKGBUILD @@ -1,26 +1,28 @@ # Maintainer: Guillaume ALAUX <guillaume@archlinux.org> pkgname=('java-runtime-common' 'java-environment-common') pkgbase=java-common -pkgver=2 -pkgrel=2 +pkgver=3 +pkgrel=1 arch=('any') -url='www.archlinux.org' +url='https://www.archlinux.org/packages/extra/any/java-common/' license=('GPL') checkdepends=('wget') +_shunitver=2.1.6 source=(profile_jre.csh profile_jre.sh bin_archlinux-java test_archlinux-java - https://shunit2.googlecode.com/files/shunit2-2.1.6.tgz) + shunit2-${_shunitver}.tar.gz::https://github.com/kward/shunit2/archive/source.tar.gz) sha256sums=('9d25638cafc2fabd1ba6f2f26aa01233eccf3d31db003d956b571f0ab655dd23' '519e9881a2a9f4fc3d581ea0ef0da594eedbfdfcf734f9fdc0bb595e8ac77e4c' - '272296ec7ca673b4f9f59fb70565328b6daef682c29cd964c988c018090c3fc2' - 'c2c413a6b2f8b88ed170a5b19f7cb620518e09686f0d286b4b27d30f571e5050' - '65a313a76fd5cc1c58c9e19fbc80fc0e418a4cbfbd46d54b35ed5b6e0025d4ee') + '5101f9d3d42cd545843a537826451c1b2e0bf2b16aba4e36ac797d9ace16dc63' + '721b225f6eb420f7b173ba2db8c65688f50ffd5dad0960ecce4cfefdb57b26a2' + '6beca93d20b72b46083c8271c4cf1da21b45f250a92b401c2565c65e1d75138f') check() { cd "${srcdir}" + ln -s shunit2-source/${_shunitver} shunit2 ./test_archlinux-java } @@ -46,7 +48,7 @@ package_java-runtime-common() { # Official list of binaries that Java headless runtime packages MUST provide # This list is based on Arch Linux' default Java implementation: "OpenJDK 7 Icedtea" for b in \ - java keytool orbd pack200 policytool rmid rmiregistry servertool tnameserv unpack200; + java keytool orbd pack200 rmid rmiregistry servertool tnameserv unpack200; do ln -s /usr/lib/jvm/default-runtime/bin/${b} "${pkgdir}/usr/bin/${b}" done @@ -61,9 +63,9 @@ package_java-environment-common() { # Official list of supplementary binaries that Java environment packages MUST provide # This list is based on Arch Linux' default Java implementation: "OpenJDK 7 Icedtea" for b in \ - appletviewer extcheck idlj jar jarsigner javac javadoc javah javap jcmd \ - jconsole jdb jhat jinfo jmap jps jrunscript jsadebugd jstack jstat \ - jstatd native2ascii rmic schemagen serialver wsgen wsimport xjc; + jar jarsigner javac javadoc javah javap jcmd \ + jconsole jdb jinfo jmap jps jstack jstat \ + jstatd rmic schemagen serialver wsgen wsimport xjc; do ln -s /usr/lib/jvm/default/bin/${b} "${pkgdir}/usr/bin/${b}" done |