games-server/factorio-server: Bumping version to 0.18.36
Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
6e394e22c8
commit
497c283425
|
@ -2,3 +2,4 @@ DIST factorio-server-0.17.79.tar.xz 32864892 BLAKE2B c583e6c53b08977bf3ddfced590
|
||||||
DIST factorio-server-0.18.33.tar.xz 43933144 BLAKE2B 154169cdc52cf80c1fd6b38f2ecce3cf89b56b7d86f9b196d1fc76f13d643f6a649d6856f9f26e057a2eb61f726374edef342cd951a1eda25f54fed322d07bf5 SHA512 d24f53d0bb6ee6b0004cd6907ef75dea0df1209fae2f20a12aeb8c4c2a31c52f3b1973c8f7e4695cfb6926adf87ed679939c7d4b0c71083c8ecdca4203eee7a6
|
DIST factorio-server-0.18.33.tar.xz 43933144 BLAKE2B 154169cdc52cf80c1fd6b38f2ecce3cf89b56b7d86f9b196d1fc76f13d643f6a649d6856f9f26e057a2eb61f726374edef342cd951a1eda25f54fed322d07bf5 SHA512 d24f53d0bb6ee6b0004cd6907ef75dea0df1209fae2f20a12aeb8c4c2a31c52f3b1973c8f7e4695cfb6926adf87ed679939c7d4b0c71083c8ecdca4203eee7a6
|
||||||
DIST factorio-server-0.18.34.tar.xz 44000944 BLAKE2B 66bfbc2243b5ce95d4cd011d4995de053183f4788f9fd0f2bace080665282b0af390b09d2230be81a4881f7001f22d8bca4e497de6b8a7aca5f449213ca103dc SHA512 3fcf1edf071414c534296c2d0219ec182f8ae632f0628cef82db53c83df3b3a8750572d7eb71afe1e72725326607c3b949eec49695ee9f9a86d9b63c60f14bc1
|
DIST factorio-server-0.18.34.tar.xz 44000944 BLAKE2B 66bfbc2243b5ce95d4cd011d4995de053183f4788f9fd0f2bace080665282b0af390b09d2230be81a4881f7001f22d8bca4e497de6b8a7aca5f449213ca103dc SHA512 3fcf1edf071414c534296c2d0219ec182f8ae632f0628cef82db53c83df3b3a8750572d7eb71afe1e72725326607c3b949eec49695ee9f9a86d9b63c60f14bc1
|
||||||
DIST factorio-server-0.18.35.tar.xz 44124420 BLAKE2B 82fec80574e394e8142a07f67fc5f3d36770509cc4760cf6b4c22ed39fe2e80324d4902406b180023abfd69549fb51be5c5b3633166d2e3bcd6883ef677522a5 SHA512 61d53d16588c3d72101b9861c1be98e325738dd5f7914a514be93dd3d0721f0c67212c7d9b24808d6601f0a8f4fc6d2a667daf3621f1becc6ea4c5a5d11e8cb4
|
DIST factorio-server-0.18.35.tar.xz 44124420 BLAKE2B 82fec80574e394e8142a07f67fc5f3d36770509cc4760cf6b4c22ed39fe2e80324d4902406b180023abfd69549fb51be5c5b3633166d2e3bcd6883ef677522a5 SHA512 61d53d16588c3d72101b9861c1be98e325738dd5f7914a514be93dd3d0721f0c67212c7d9b24808d6601f0a8f4fc6d2a667daf3621f1becc6ea4c5a5d11e8cb4
|
||||||
|
DIST factorio-server-0.18.36.tar.xz 44154576 BLAKE2B 48ddb0ea225344e3b0b74dbee338c902a1c1db6ac3ba14e1724d59769b5c1d45318bcb49df14ea5f81d373240a8d63bc3378d8afd5cfd994400b540b813bf531 SHA512 c842680f172770f48a5bae056b6e6cdf8498a94990ca15a829f46e0fcd1258445b6f0191a93e72c70ab8a31af4dc0fc1a68e77a606b1332790da030f625a6dd5
|
||||||
|
|
41
games-server/factorio-server/factorio-server-0.18.36.ebuild
Normal file
41
games-server/factorio-server/factorio-server-0.18.36.ebuild
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# 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%.*}"
|
||||||
|
|
||||||
|
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