games-server/factorio-server: Version bump to 1.1.39
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
bc0ffaa208
commit
bea695354b
|
@ -1,2 +1 @@
|
||||||
DIST factorio-server-1.0.0.tar.xz 44843968 BLAKE2B e9ede40a26bce68413ff96631f28fc9f19984023a445bc9df1b4dc72fc4e647df3ee615e43557a292dec51c76f70664d6292e206ba2af856df0e9d481de15bba SHA512 72dec80686d06994ab945c9f03d6da3630f7981788d428cdb8a7b01a014859c1fbd09be8819a5120efbdb22f18b5985308da9e26d0d15346d470cf9aeaf5dfb8
|
DIST factorio-server-1.1.39.tar.xz 51294396 BLAKE2B 0d0ba63ec1c3e1417c66b9b332fdd81122788d6a658094e7d0b18bbd145e9798669c3714c7caa4f380d91393208d2add638c1ea3a3ef41e87d2a4b850e2c4433 SHA512 7bd053c9b61106ee3e9ef5a292c5547fbacf7d9abe9fc0f1d12690f251c9c4d7ef8ad766b45600d9a2e80b69cdb9c3627b4a12597a966f64c9bd3077aaa501f6
|
||||||
DIST factorio-server-1.1.25.tar.xz 50992160 BLAKE2B a28753ebcc33ffaed170a7074e188b899654107ab93a236b45c2de4333876b55713b98bfd63a882590645d905abe22d5cffb819f3cb4afc90dcd66cdae43b564 SHA512 ad5603b7078289591f5a700c63ec7a1ab36f60ef04464d938ed44d6626c94f523fc0229d52dfd82bdd7f2082314a0fa87a6b5d8b12728fc148d99065a413de7f
|
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DESCRIPTION="Factorio is a game in which you build and maintain factories"
|
|
||||||
HOMEPAGE="https://www.factorio.com/"
|
|
||||||
SRC_URI="https://www.factorio.com/get-download/${PV}/headless/linux64 -> ${P}.tar.xz"
|
|
||||||
LICENSE="Factorio"
|
|
||||||
SLOT="${PV%.*}"
|
|
||||||
KEYWORDS="amd64"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
acct-group/factorio
|
|
||||||
acct-user/factorio
|
|
||||||
"
|
|
||||||
|
|
||||||
RESTRICT="bindist mirror"
|
|
||||||
|
|
||||||
S="${WORKDIR}/factorio"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto "/opt/factorio-${SLOT}"
|
|
||||||
doins -r *
|
|
||||||
exeinto "/opt/factorio-${SLOT}"/bin/x64
|
|
||||||
doexe bin/x64/factorio
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/factorio.initd "factorio-${SLOT}"
|
|
||||||
newconfd "${FILESDIR}"/factorio.confd "factorio-${SLOT}"
|
|
||||||
|
|
||||||
sed -i "s/%SLOT%/${SLOT}/" "${D}/etc/conf.d/factorio-${SLOT}" || \
|
|
||||||
die "SLOTing sed failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
einfo "As factorio user, copy data/server-settings.example.json to"
|
|
||||||
einfo "config/server-settings.json and data/server-whitelist.example.json"
|
|
||||||
einfo "to config/server-whitelist.json and adapt it according to your needs."
|
|
||||||
einfo ""
|
|
||||||
einfo "Then, run bin/x64/factorio --create ./saves/my-save.zip to create a"
|
|
||||||
einfo "new map, and start the service."
|
|
||||||
}
|
|
Loading…
Reference in a new issue