mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 20:43:09 -04:00
* (fixes heroic not open) Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
32 lines
971 B
Bash
32 lines
971 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit desktop
|
|
SRC_URI="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v${PV}/heroic-${PV}.tar.xz"
|
|
DESCRIPTION="A Native GOG and Epic Games Launcher for Linux, Windows and Mac."
|
|
HOMEPAGE="https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
S="${WORKDIR}/heroic-${PV}"
|
|
|
|
src_install() {
|
|
mv "${S}" "${WORKDIR}/heroic"
|
|
insinto /opt
|
|
doins -r "${WORKDIR}/heroic"
|
|
insinto /opt/bin
|
|
doins "${FILESDIR}/heroic"
|
|
fperms +x /opt/heroic/heroic /opt/bin/heroic
|
|
|
|
#fix login error both EPIC and GOG
|
|
fperms +x /opt/heroic/resources/app.asar.unpacked/build/bin/linux/legendary /opt/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl
|
|
|
|
domenu "${FILESDIR}/HeroicGamesLauncher.desktop"
|
|
newicon "${WORKDIR}/heroic/resources/app.asar.unpacked/build/icon.png" heroic.png
|
|
}
|