void-packages/srcpkgs/freerouting/template
2020-11-29 11:56:09 +07:00

24 lines
814 B
Bash

# Template file for 'freerouting'
pkgname=freerouting
version=1.4.4
revision=2
hostmakedepends="gradle openjdk11"
depends="openjdk11"
short_desc="Advanced PCB autorouter"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-3.0-or-later"
homepage="https://github.com/freerouting/freerouting"
distfiles="https://github.com/freerouting/${pkgname}/archive/v${version}.tar.gz"
checksum=0b8abc9e06ec894e83d97983d3ab0a85127c5fb7a913da533cea431c515c59ce
do_build() {
. /etc/profile.d/10_openjdk11.sh
gradle assemble
}
do_install() {
vinstall build/libs/freerouting-executable.jar 644 usr/lib/freerouting
vbin ${FILESDIR}/freerouting.sh freerouting
vinstall ${FILESDIR}/freerouting.desktop 644 usr/share/applications
vinstall ${FILESDIR}/freerouting.svg 644 usr/share/icons/hicolor/scalable/apps
}