| author | Guillaume Alaux
<guillaume@archlinux.org> 2015-07-19 19:36:48 UTC |
| committer | Guillaume Alaux
<guillaume@archlinux.org> 2015-07-19 19:36:48 UTC |
| parent | 4f6d6f4120e8a0da30a9fa764c5d7e53b4a2ffe8 |
| PKGBUILD | +5 | -3 |
| test_archlinux-java | +2 | -2 |
diff --git a/PKGBUILD b/PKGBUILD index 502622e..34a9c30 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,20 +7,22 @@ arch=('any') url='www.archlinux.org' 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') + '565aad3e35b7435d5050cba2363c39affa739c9af8b9626aff0678850fa64025' + '6beca93d20b72b46083c8271c4cf1da21b45f250a92b401c2565c65e1d75138f') check() { cd "${srcdir}" + ln -s shunit2-source/${_shunitver} shunit2 ./test_archlinux-java } diff --git a/test_archlinux-java b/test_archlinux-java index 867745d..9b4e58b 100755 --- a/test_archlinux-java +++ b/test_archlinux-java @@ -1,6 +1,6 @@ #! /bin/sh # -# To run this script, ensure shunit2 (https://code.google.com/p/shunit2/) +# To run this script, ensure shunit2 (https://github.com/kward/shunit2) # is available on the local directory, then just run sh bin_archlinux-java_tests # # inotifywait -r -m -e MODIFY . | while read l; do sh bin_archlinux-java_tests; done @@ -283,4 +283,4 @@ test_do_fix_devnull() { } # load shunit2 -. shunit2-2.1.6/src/shunit2 +. shunit2/src/shunit2