void-packages/srcpkgs/runelite-launcher/template

27 lines
759 B
Bash

# Template file for 'runelite-launcher'
pkgname=runelite-launcher
version=2.1.3
revision=2
wrksrc="launcher-${version}"
hostmakedepends="apache-maven"
depends="virtual?java-runtime"
short_desc="Open source Old School RuneScape client"
maintainer="Matteo Signer <matteo.signer@gmail.com>"
license="BSD-2-Clause"
homepage="https://runelite.net"
distfiles="https://github.com/runelite/launcher/archive/${version}.tar.gz"
checksum=164125d77eb67c936dff43da7d395fbb3a8d948312097cd4f0075ccca4beaf37
do_build() {
mvn package
}
do_install() {
vinstall target/RuneLite.jar 644 usr/share/runelite
vbin ${FILESDIR}/runelite
vinstall appimage/runelite.png 644 usr/share/pixmaps
vinstall ${FILESDIR}/runelite.desktop 644 usr/share/applications
vlicense LICENSE
}