mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
runescape_launcher: add recipe (#9248)
This commit is contained in:
49
games-rpg/runescape_launcher/runescape_launcher-0.9.0.recipe
Normal file
49
games-rpg/runescape_launcher/runescape_launcher-0.9.0.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="A launcher script for old-school Runescape"
|
||||
DESCRIPTION="This is a launcher script that downloads the \
|
||||
old school Runescape launcher and starts it. \
|
||||
Please note that runescape itself is closed-source and has a \
|
||||
proprietary license.\
|
||||
\
|
||||
This script is based on https://gitlab.com/coringao/runescape/"
|
||||
HOMEPAGE="https://github.com/TheZeldakatze/haiku-oldschoolrunescape-launcher"
|
||||
COPYRIGHT="2023, Maite Gamper \
|
||||
2016-2020, Carlos Donizete Froes"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/TheZeldakatze/haiku-oldschoolrunescape-launcher/archive/refs/tags/v0.9.0.tar.gz"
|
||||
CHECKSUM_SHA256="92f9497095c56a74da87c5f907a57f46cee84c0ac505cb9f41e9015565354863"
|
||||
SOURCE_DIR="haiku-oldschoolrunescape-launcher-0.9.0"
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
runescape_launcher$secondaryArchSuffix
|
||||
app:Runescape_Launcher
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:7z
|
||||
cmd:wget
|
||||
openjdk11${secondaryArchSuffix}_jre
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:resattr
|
||||
"
|
||||
|
||||
BUILD() {
|
||||
chmod +x Runescape\ Launcher
|
||||
rc -o runescapeLogo.rsrc runescapeLogo.rdef
|
||||
resattr -o ./Runescape\ Launcher runescapeLogo.rsrc
|
||||
}
|
||||
|
||||
INSTALL() {
|
||||
mkdir $appsDir
|
||||
cp Runescape\ Launcher $appsDir
|
||||
addAppDeskbarSymlink $appsDir/Runescape\ Launcher "Runescape Launcher"
|
||||
}
|
||||
Reference in New Issue
Block a user