tastytea
042dae1ea1
Some checks failed
the build failed
Package-Manager: Portage-2.3.40, Repoman-2.3.9 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
30 lines
705 B
Bash
30 lines
705 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
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/0.16.51/headless/linux64 -> ${P}.tar.xz"
|
|
LICENSE="Factorio"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
RDEPEND=">=app-misc/screen-4.6.1"
|
|
DEPEND=""
|
|
|
|
src_unpack() {
|
|
default_src_unpack
|
|
mv factorio ${P}
|
|
}
|
|
|
|
src_install() {
|
|
insinto /opt/factorio
|
|
doins -r data
|
|
doins -r config-path.cfg
|
|
exeinto /opt/factorio/bin/x64
|
|
doexe bin/x64/factorio
|
|
newinitd "${FILESDIR}"/factorio.initd factorio
|
|
newconfd "${FILESDIR}"/factorio.confd factorio
|
|
}
|