void-packages/srcpkgs/runelite-launcher/template

27 lines
732 B
Bash

# Template file for 'runelite-launcher'
pkgname=runelite-launcher
version=2.6.9
revision=1
hostmakedepends="apache-maven openjdk11"
depends="virtual?java-runtime"
short_desc="Open source Old School RuneScape client"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://runelite.net"
distfiles="https://github.com/runelite/launcher/archive/${version}.tar.gz"
checksum=cc5375f9e41669fcd22dfa68f6e17b80cc90b0db385d27dfcdd9f3e18e1c5100
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
}