void-packages/srcpkgs/runelite-launcher/template

31 lines
836 B
Bash
Raw Normal View History

2018-12-18 15:18:43 +01:00
# Template file for 'runelite-launcher'
pkgname=runelite-launcher
version=1.6.1
revision=1
noarch=yes
wrksrc="launcher-${version}"
hostmakedepends="apache-maven-bin ImageMagick"
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=56cefcf906115c1ea4a5cd0556a257672b56a7cf8d8607aba8b1287f5d6ac407
do_build() {
mvn package
convert src/main/resources/runelite.ico[-1] runelite.png
}
do_install() {
vinstall target/RuneLite.jar 644 usr/share/runelite
vbin ${FILESDIR}/runelite
vinstall runelite.png 644 usr/share/pixmaps
vinstall ${FILESDIR}/runelite.desktop 644 usr/share/applications
vlicense LICENSE
}