games-server/factorio-server: Removing old version
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
c959285324
commit
afdb8510a0
|
@ -1,5 +1,4 @@
|
|||
DIST factorio-server-0.17.79.tar.xz 32864892 BLAKE2B c583e6c53b08977bf3ddfced5908babd02020ad932ca83fceaab2ef86a15ac62e2755dd9576bdf57dcb79ecc0291ef45772bc824222654c6f73cdcb090e5b928 SHA512 a1201a20914c0c90a91c9a329a4edb15f5904fc4f5b70687204381c9fc5ab157b4dd2a11928ac705de1afd44150f600d8087d6a52e16f9b236a51769d97a9bb6
|
||||
DIST factorio-server-0.18.38.tar.xz 44812460 BLAKE2B b622cc09623304dfb2ea94ef08acb8da31942360582310b2545af109b9d26aa915e04f1c3833047c7e01d9e93dce9a62ac4cf73ad39351bb82dc37eb1c94c0ba SHA512 9afee60565d2fa44f66b3b417d81937e060f1deb2a91af678c6e1471d5a5c31cd8ab0b591f489b2a2559e487c2e78e227bd17e4013c473cb799e82de8eff9fc4
|
||||
DIST factorio-server-0.18.40.tar.xz 44800040 BLAKE2B 229f3088101fddced62d7fbb834128cee5679fb549cdae3ed1ee3b2fc64a8c02328fa57a350e546895098b222be91c9ead6254e41c8f2f6e7d6a9cc1001cd105 SHA512 a2026732ca57562db7725d048218719dc4c23f166ba42b77373d06e4431da306e255f63e7f5a9b6d48a8683c4150fe89676b797fb419c0e4da9e099224843c6a
|
||||
DIST factorio-server-0.18.42.tar.xz 44875768 BLAKE2B 44e5788eb159c2f118b2a9874212c14feb146e6321c7249c102e7f6993da03ab65ef15abb1d3c4561cdb6a1f5020f433e77dc5aab3a089dbdd1d5ba7f2d2aa1f SHA512 49598a2a88b4b23d68414c421cf140bef15d808fd4c00c3148a0c21e2a0dcef00ea917764d06ee63018d6f250a14e448fdc1e37e249a7d835dd9fdca969df246
|
||||
DIST factorio-server-0.18.43.tar.xz 44924100 BLAKE2B 76b59aff4956ebd92f33a13e1b83740ab388dbbe2d54badf0e6c4a40713d8ded16245358913eec9b717495694cf992c034f531848120f59231d7b133046959aa SHA512 28772b00454694bd8cc129931000b5f08f501c3bea399fc03b72c714837a0f70945aed80d093b2363b8109650f9c1072d8572b03ec5085f600c1aefe4dc25729
|
||||
|
|
|
@ -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."
|
||||
}
|
Loading…
Reference in a new issue