Compare commits
2 Commits
60405781da
...
db62ead377
Author | SHA1 | Date |
---|---|---|
Alarig Le Lay | db62ead377 | |
Alarig Le Lay | a40ec87943 |
|
@ -0,0 +1 @@
|
|||
DIST vs_server_1.18.5.tar.gz 29892055 BLAKE2B b07a1a07d2482d2daeeac89043781c51fb75a9da04b3afb929f73a8fab90f6a71da4962af4136389aaebf8b26171dbdff881414832df799cafdd6a2bd2c4fd68 SHA512 9c3fc99a102a357bee17ea90d6529a4d6daeaf9e94de0e55c10d3eb93d40d25540fecfee0753372bbdbfddeddb4a5e36d2ae429fe30a6839924bf1a80b10e300
|
|
@ -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
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
DEFINED_PHASES=install
|
||||
DEPEND=dev-lang/mono net-misc/curl net-misc/wget
|
||||
DESCRIPTION=Server for Vintage Story
|
||||
EAPI=8
|
||||
HOMEPAGE=https://www.vintagestory.at/
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=all-right-reserved
|
||||
RDEPEND=dev-lang/mono net-misc/curl net-misc/wget
|
||||
SLOT=0
|
||||
SRC_URI=https://cdn.vintagestory.at/gamefiles/stable/vs_server_1.18.5.tar.gz
|
||||
_md5_=77dc3cc020cdaaadda0a16dc9bd9b94f
|
Loading…
Reference in New Issue