Date: Sunday, July 19, 2015 @ 21:36:48
  Author: guillaume
Revision: 242376

Fix FS#45598 update shunit2 download location

Modified:
  java-common/trunk/PKGBUILD
  java-common/trunk/test_archlinux-java

---------------------+
 PKGBUILD            |    8 +++++---
 test_archlinux-java |    4 ++--
 2 files changed, 7 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-07-19 19:01:35 UTC (rev 242375)
+++ PKGBUILD    2015-07-19 19:36:48 UTC (rev 242376)
@@ -7,20 +7,22 @@
 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
 }
 

Modified: test_archlinux-java
===================================================================
--- test_archlinux-java 2015-07-19 19:01:35 UTC (rev 242375)
+++ test_archlinux-java 2015-07-19 19:36:48 UTC (rev 242376)
@@ -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 @@
 }
 
 # load shunit2
-. shunit2-2.1.6/src/shunit2
+. shunit2/src/shunit2

Reply via email to