games-server/factorio-server: New testing version 1.1.2
Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
c84c79baed
commit
f1bf6c36f5
|
@ -1,3 +1,2 @@
|
||||||
DIST factorio-server-0.17.79.tar.xz 32864892 BLAKE2B c583e6c53b08977bf3ddfced5908babd02020ad932ca83fceaab2ef86a15ac62e2755dd9576bdf57dcb79ecc0291ef45772bc824222654c6f73cdcb090e5b928 SHA512 a1201a20914c0c90a91c9a329a4edb15f5904fc4f5b70687204381c9fc5ab157b4dd2a11928ac705de1afd44150f600d8087d6a52e16f9b236a51769d97a9bb6
|
|
||||||
DIST factorio-server-0.18.47.tar.xz 44950820 BLAKE2B fa5412a7d556df225ecd908048b83e09e3ebf18261617e54e82735b494eddae84ff73573f0e3e34cc0b7010c3fa56bb39c8d72fcc4b3fe3c9c8d408ebf4a2cb0 SHA512 cf9c410bf4d5186cdeebbf8d5db71ba1f4fffc1cdab60c2ca06781ebe742af2f022bd541e6e8ef85c523f5199a3b269dc37e361ed8d1bca552b925e5cf5aa390
|
|
||||||
DIST factorio-server-1.0.0.tar.xz 44843968 BLAKE2B e9ede40a26bce68413ff96631f28fc9f19984023a445bc9df1b4dc72fc4e647df3ee615e43557a292dec51c76f70664d6292e206ba2af856df0e9d481de15bba SHA512 72dec80686d06994ab945c9f03d6da3630f7981788d428cdb8a7b01a014859c1fbd09be8819a5120efbdb22f18b5985308da9e26d0d15346d470cf9aeaf5dfb8
|
DIST factorio-server-1.0.0.tar.xz 44843968 BLAKE2B e9ede40a26bce68413ff96631f28fc9f19984023a445bc9df1b4dc72fc4e647df3ee615e43557a292dec51c76f70664d6292e206ba2af856df0e9d481de15bba SHA512 72dec80686d06994ab945c9f03d6da3630f7981788d428cdb8a7b01a014859c1fbd09be8819a5120efbdb22f18b5985308da9e26d0d15346d470cf9aeaf5dfb8
|
||||||
|
DIST factorio-server-1.1.2.tar.xz 50385760 BLAKE2B 5fd10d2b849572e577a85ff00f0b00c48a46949d541115159945486d99a154838b4a2e3c1b2968ff9e72a02da928b116288991d9735252f7bda86466b960dca5 SHA512 57dd900fdcd40dcc5481c701ead37d3f5a50ac3e86f83c502b59c3f0c5382d989e6a2b272444adc885c5c13bce2022759fc654ade90b2f232342417ad6b09dd0
|
||||||
|
|
|
@ -1,41 +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%.*}"
|
|
||||||
|
|
||||||
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."
|
|
||||||
}
|
|
|
@ -8,7 +8,7 @@ HOMEPAGE="https://www.factorio.com/"
|
||||||
SRC_URI="https://www.factorio.com/get-download/${PV}/headless/linux64 -> ${P}.tar.xz"
|
SRC_URI="https://www.factorio.com/get-download/${PV}/headless/linux64 -> ${P}.tar.xz"
|
||||||
LICENSE="Factorio"
|
LICENSE="Factorio"
|
||||||
SLOT="${PV%.*}"
|
SLOT="${PV%.*}"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="amd64"
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
acct-group/factorio
|
acct-group/factorio
|
||||||
|
|
Loading…
Reference in a new issue