tastytea
43baeb445f
# Previous commits: #a4a205a
Merge pull request 'sys-apps/hashboot: Fix incorrect source variable' (#13) from tmweaver/overlay:fix-hashboot-ebuild-s-variable into master #8bf89ef
sys-apps/hashboot: Fix incorrect source variable #684a21c
sys-apps/hashboot: Fix SRC_URI; re-generate Manifest. #1ba6a16
games-server/factorio-server: Remove old ebuild.
29 lines
678 B
Bash
29 lines
678 B
Bash
# Copyright 1999-2021 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"
|
|
RESTRICT="bindist mirror"
|
|
|
|
RDEPEND="app-misc/screen"
|
|
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
|
|
}
|