games-server/vintagestory-server: new package, add 1.18.5
This commit is contained in:
parent
60405781da
commit
a40ec87943
1
games-server/vintagestory-server/Manifest
Normal file
1
games-server/vintagestory-server/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST vs_server_1.18.5.tar.gz 29892055 BLAKE2B b07a1a07d2482d2daeeac89043781c51fb75a9da04b3afb929f73a8fab90f6a71da4962af4136389aaebf8b26171dbdff881414832df799cafdd6a2bd2c4fd68 SHA512 9c3fc99a102a357bee17ea90d6529a4d6daeaf9e94de0e55c10d3eb93d40d25540fecfee0753372bbdbfddeddb4a5e36d2ae429fe30a6839924bf1a80b10e300
|
23
games-server/vintagestory-server/files/vintagestory.initd
Normal file
23
games-server/vintagestory-server/files/vintagestory.initd
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
name="vintagestory daemon"
|
||||||
|
description=""
|
||||||
|
command=/usr/bin/mono
|
||||||
|
retry=15
|
||||||
|
command_background=1
|
||||||
|
directory="/opt/vintagestory-server"
|
||||||
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||||||
|
|
||||||
|
command_user="vintagestory"
|
||||||
|
command_group="vintagestory"
|
||||||
|
|
||||||
|
command_args="/opt/vintagestory-server/VintagestoryServer.exe --dataPath ${DATAPATH}"
|
||||||
|
|
||||||
|
DATAPATH="/var/lib/vintagestory"
|
||||||
|
|
||||||
|
start_pre() {
|
||||||
|
checkpath -d -m 0750 -o "${command_user}:${command_group}" \
|
||||||
|
"${DATAPATH}"
|
||||||
|
}
|
|
@ -0,0 +1,29 @@
|
||||||
|
# Copyright 2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DESCRIPTION="Server for Vintage Story"
|
||||||
|
HOMEPAGE="https://www.vintagestory.at/"
|
||||||
|
SRC_URI="https://cdn.vintagestory.at/gamefiles/stable/vs_server_${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="all-right-reserved"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-lang/mono
|
||||||
|
net-misc/curl
|
||||||
|
net-misc/wget
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
BDEPEND=""
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /opt/vintagestory-server
|
||||||
|
doins -r *
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/vintagestory.initd vintagestory
|
||||||
|
}
|
Loading…
Reference in a new issue