void-packages/srcpkgs/runelite-launcher/template
2021-10-25 20:49:08 +00:00

27 lines
759 B
Bash

# Template file for 'runelite-launcher'
pkgname=runelite-launcher
version=2.1.7
revision=1
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=9b14d5f2b10c6dad39554ba9faf24b58b74e35d8557e1d46dd814031f4844b8b
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
}