This repository has been archived on 2024-09-25. You can view files and clone it, but cannot push or open issues or pull requests.
overlay/games-server/factorio-server/factorio-server-0.17.71.ebuild
tastytea 01fb4671e2
All checks were successful
continuous-integration/drone/push Build is passing
games-server/factorio-server: Version bump 0.17.71.
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
2019-10-17 10:52:49 +02:00

27 lines
666 B
Bash

# Copyright 1999-2019 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="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND=">=app-misc/screen-4.6.1"
DEPEND=""
S="${WORKDIR}/factorio"
src_install() {
insinto /opt/factorio
doins -r data
doins config-path.cfg
exeinto /opt/factorio/bin/x64
doexe bin/x64/factorio
newinitd "${FILESDIR}"/factorio.initd factorio
newconfd "${FILESDIR}"/factorio.confd factorio
}