games-server/factorio-server: Version bump to 0.18.45
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
c0ca0f9633
commit
bb47b1db35
|
@ -2,3 +2,4 @@ DIST factorio-server-0.17.79.tar.xz 32864892 BLAKE2B c583e6c53b08977bf3ddfced590
|
|||
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
|
||||
DIST factorio-server-0.18.44.tar.xz 44948108 BLAKE2B 11d0ea533d017a2032161ad93a4088e0ec43579c2364681b1c9c4a2cfdd3090b105b19ff4b254fe5aedea6c49fc8efe7a97f741a7d6a028063f51ab9dc1ccac0 SHA512 605f316c5e12e81da39d423f15e83d07d234d44829f0201acdbbad5ad844dfd66ad1313abdf7a60257a27c861231ddeb79eb0333065e946a9c9a426ac4e10bfe
|
||||
DIST factorio-server-0.18.45.tar.xz 44933228 BLAKE2B aae6a5992460e1d5ac998a7d28bf6195d1267f3dc2a2425ebdc2722c4374d9c7207d7d882b7da53febce65a91a46f918ac3fae71efdb892cd7c151d143dbd65c SHA512 2786f4f8dfac461fb3df751f54f8732863afe6a9a954a6862f933b0ab17b6b59e3b6f4c5bd55c65ceb566e224afde03523fa1b6d57701b168ebdb4008804e6fe
|
||||
|
|
41
games-server/factorio-server/factorio-server-0.18.45.ebuild
Normal file
41
games-server/factorio-server/factorio-server-0.18.45.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