void-packages/srcpkgs/sugar/template

31 lines
757 B
Bash

# Template file for 'sugar'
pkgname=sugar
version=2.3.2
revision=1
wrksrc=${pkgname}-v2-3-2
build_wrksrc=bin
build_style=gnu-makefile
make_build_args="javac"
depends="virtual?java-runtime"
makedepends="openjdk"
hostmakedepends="unzip"
short_desc="A SAT-based Constraint Solver"
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
license="BSD-3-clause"
homepage="http://bach.istc.kobe-u.ac.jp/sugar"
distfiles="http://bach.istc.kobe-u.ac.jp/sugar/package/sugar-v2-3-2.zip"
checksum=50cbd291ab328be4d331c8fcfd4de8b6a26f3f7b8f31094ebf55218a4f647b40
post_build() {
sed -i 's|/usr/local/lib|/usr/lib|' sugar
}
do_install() {
vbin sugar
vinstall sugar-v2-3-2.jar 0644 /usr/lib/sugar
}
post_install() {
vlicense ../docs/LICENSE.txt LICENSE
}