diff --git a/srcpkgs/sugar/template b/srcpkgs/sugar/template index 5b9ed398cc3..9e376d32a3e 100644 --- a/srcpkgs/sugar/template +++ b/srcpkgs/sugar/template @@ -1,8 +1,8 @@ # Template file for 'sugar' pkgname=sugar version=2.3.2 -revision=1 -wrksrc=${pkgname}-v2-3-2 +revision=2 +wrksrc="${pkgname}-v${version//./-}" build_wrksrc=bin build_style=gnu-makefile make_build_args="javac" @@ -11,8 +11,8 @@ depends="virtual?java-runtime" short_desc="SAT-based Constraint Solver" maintainer="Tai Chi Minh Ralph Eastwood " license="BSD-3-Clause" -homepage="http://bach.istc.kobe-u.ac.jp/sugar" -distfiles="http://bach.istc.kobe-u.ac.jp/sugar/package/sugar-v${version//./-}.zip" +homepage="https://cspsat.gitlab.io/sugar/" +distfiles="https://cspsat.gitlab.io/sugar/package/sugar-v${version//./-}.zip" checksum=50cbd291ab328be4d331c8fcfd4de8b6a26f3f7b8f31094ebf55218a4f647b40 post_build() { @@ -21,7 +21,7 @@ post_build() { do_install() { vbin sugar - vinstall sugar-v2-3-2.jar 0644 /usr/lib/sugar + vinstall sugar-v${version//./-}.jar 0644 /usr/lib/sugar } post_install() {