25 lines
809 B
Bash
25 lines
809 B
Bash
# Template file for 'freerouting'
|
|
pkgname=freerouting
|
|
version=1.5.0
|
|
revision=1
|
|
hostmakedepends="dos2unix gradle openjdk11"
|
|
depends="openjdk11"
|
|
short_desc="Advanced PCB autorouter"
|
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/freerouting/freerouting"
|
|
distfiles="https://github.com/freerouting/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=36742a91e492956e3adc5d75e542a40f3e03d15d69d15717a9d39c0585faac44
|
|
|
|
do_build() {
|
|
. /etc/profile.d/jdk.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
|
|
}
|