void-packages/srcpkgs/runelite-launcher/template

29 lines
776 B
Bash

# Template file for 'runelite-launcher'
pkgname=runelite-launcher
version=1.6.2
revision=1
archs=noarch
wrksrc="launcher-${version}"
hostmakedepends="apache-maven-bin"
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=97c579a6a409eb9db8eca33061d7df71fade8e1ef4df3b245e3c90e2f01e6e1b
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
}