30 lines
956 B
Bash
30 lines
956 B
Bash
# Template file for 'runelite-launcher'
|
|
pkgname=runelite-launcher
|
|
version=2.7.1
|
|
revision=1
|
|
hostmakedepends="apache-maven openjdk11"
|
|
depends="virtual?java-runtime"
|
|
short_desc="Open source Old School RuneScape client"
|
|
maintainer="Emil Tomczyk <emru@emru.xyz>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://runelite.net"
|
|
distfiles="https://github.com/runelite/launcher/archive/${version}.tar.gz"
|
|
checksum=2b5e5f07b5961eeb419b275613ed9008cfcd62768604bca637a5ef37e54e722a
|
|
|
|
do_build() {
|
|
mvn package
|
|
}
|
|
|
|
do_install() {
|
|
vinstall target/RuneLite.jar 644 usr/share/runelite
|
|
vbin ${FILESDIR}/runelite
|
|
|
|
vsed -i 's/${project.build.finalName}/RuneLite/' appimage/runelite.desktop
|
|
vsed -i 's/${project.description}/Launcher for RuneLite client/' appimage/runelite.desktop
|
|
vsed -i 's/Exec=.*/Exec=runelite/' appimage/runelite.desktop
|
|
vinstall appimage/runelite.png 644 usr/share/pixmaps
|
|
vinstall appimage/runelite.desktop 644 usr/share/applications
|
|
|
|
vlicense LICENSE
|
|
}
|