games-server/factorio-server: New 1.0 major release

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2020-08-14 12:04:54 +02:00
parent 6303f762a2
commit 9abcd8562f
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 2 additions and 43 deletions

View file

@ -1,4 +1,3 @@
DIST factorio-server-0.17.79.tar.xz 32864892 BLAKE2B c583e6c53b08977bf3ddfced5908babd02020ad932ca83fceaab2ef86a15ac62e2755dd9576bdf57dcb79ecc0291ef45772bc824222654c6f73cdcb090e5b928 SHA512 a1201a20914c0c90a91c9a329a4edb15f5904fc4f5b70687204381c9fc5ab157b4dd2a11928ac705de1afd44150f600d8087d6a52e16f9b236a51769d97a9bb6
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
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

View file

@ -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."
}

View file

@ -8,6 +8,7 @@ HOMEPAGE="https://www.factorio.com/"
SRC_URI="https://www.factorio.com/get-download/${PV}/headless/linux64 -> ${P}.tar.xz"
LICENSE="Factorio"
SLOT="${PV%.*}"
KEYWORDS="~amd64"
DEPEND="
acct-group/factorio