games-server/factorio-server: Version bump to 0.18.32
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
68d70c6305
commit
e318f73592
|
@ -1,3 +1,4 @@
|
||||||
DIST factorio-server-0.17.79.tar.xz 32864892 BLAKE2B c583e6c53b08977bf3ddfced5908babd02020ad932ca83fceaab2ef86a15ac62e2755dd9576bdf57dcb79ecc0291ef45772bc824222654c6f73cdcb090e5b928 SHA512 a1201a20914c0c90a91c9a329a4edb15f5904fc4f5b70687204381c9fc5ab157b4dd2a11928ac705de1afd44150f600d8087d6a52e16f9b236a51769d97a9bb6
|
DIST factorio-server-0.17.79.tar.xz 32864892 BLAKE2B c583e6c53b08977bf3ddfced5908babd02020ad932ca83fceaab2ef86a15ac62e2755dd9576bdf57dcb79ecc0291ef45772bc824222654c6f73cdcb090e5b928 SHA512 a1201a20914c0c90a91c9a329a4edb15f5904fc4f5b70687204381c9fc5ab157b4dd2a11928ac705de1afd44150f600d8087d6a52e16f9b236a51769d97a9bb6
|
||||||
DIST factorio-server-0.18.30.tar.xz 44201904 BLAKE2B 61924932928a9a8c30385ea3785d58a342e747395c541f1b36723a4eee066252c7010ce1945d1fe8f7463272fdf34e10d8e8ce1bd81d1b60daeb5c87395a2dc2 SHA512 94144bd675d972941c4f7afe9b76234f8e9be5f5d39335ba48833a0dd6985c6f660de7920f8f5f4213507f57688e8722e08e73adf52ba6fb60e32f447d8c64e2
|
DIST factorio-server-0.18.30.tar.xz 44201904 BLAKE2B 61924932928a9a8c30385ea3785d58a342e747395c541f1b36723a4eee066252c7010ce1945d1fe8f7463272fdf34e10d8e8ce1bd81d1b60daeb5c87395a2dc2 SHA512 94144bd675d972941c4f7afe9b76234f8e9be5f5d39335ba48833a0dd6985c6f660de7920f8f5f4213507f57688e8722e08e73adf52ba6fb60e32f447d8c64e2
|
||||||
DIST factorio-server-0.18.31.tar.xz 44333756 BLAKE2B 65301b67b1d9057da3d94bc73735863dbf61fa2e163a32f38f0c387910883f06bcc1e7bc83e174c7a35f9e806e53fd3e6ba65e5de8282d9b50901e9747e487dd SHA512 8590ab0ec7f4c8097cb357378cf7986e1d18b5feaf468b4eb7e573621042807fe4bfd8ef81494222fdf8e709b38ae528d791693679890c333b580a3862df02f4
|
DIST factorio-server-0.18.31.tar.xz 44333756 BLAKE2B 65301b67b1d9057da3d94bc73735863dbf61fa2e163a32f38f0c387910883f06bcc1e7bc83e174c7a35f9e806e53fd3e6ba65e5de8282d9b50901e9747e487dd SHA512 8590ab0ec7f4c8097cb357378cf7986e1d18b5feaf468b4eb7e573621042807fe4bfd8ef81494222fdf8e709b38ae528d791693679890c333b580a3862df02f4
|
||||||
|
DIST factorio-server-0.18.32.tar.xz 44365748 BLAKE2B 92964d6506560e94f321ca19f8eacf12d581cffa7f3e94bea9f8c4778e587dcd6c016b7b148e89cba8d7c86b8adb72bcc4b8efc320324924339bd53002bdb404 SHA512 d006f385a4fb40a7ed32efd6f0172712176d6303315bd613d6ae7379cc240a029ad5867e1e1ecd24f959b88fc443b201f33c8f3985abca7dae57bd498564c7f7
|
||||||
|
|
41
games-server/factorio-server/factorio-server-0.18.32.ebuild
Normal file
41
games-server/factorio-server/factorio-server-0.18.32.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