summaryrefslogtreecommitdiff
path: root/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild')
-rw-r--r--games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild53
1 files changed, 0 insertions, 53 deletions
diff --git a/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild
deleted file mode 100644
index 54dbbe7d27ed..000000000000
--- a/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop unpacker wrapper
-
-DESCRIPTION="Baldur's Gate: Enhanced Edition"
-HOMEPAGE="https://www.baldursgate.com/"
-SRC_URI="baldur_s_gate_enhanced_edition_en_${PV//./_}.sh"
-
-LICENSE="GOG-EULA"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="bindist fetch"
-
-RDEPEND="dev-libs/expat
- dev-libs/openssl:0
- media-libs/openal
- virtual/opengl
- x11-libs/libX11"
-BDEPEND="app-arch/unzip"
-
-QA_PRESTRIPPED="/opt/${PN}/BaldursGate\(64\)\?"
-
-S="${WORKDIR}/data/noarch"
-
-pkg_nofetch() {
- einfo "Please buy and download \"${SRC_URI}\" from"
- einfo "https://www.gog.com/game/baldurs_gate_enhanced_edition"
- einfo "and place it in your DISTDIR directory."
-}
-
-src_unpack() {
- unpack_zip ${A}
-}
-
-src_install() {
- local dir="/opt/${PN}"
-
- dodoc -r "game/Manuals/."
- rm -r "game/Manuals" || die "rm failed"
-
- insinto "${dir}"
- doins -r "game/."
- fperms +x "${dir}/BaldursGate"{,64}
-
- use amd64 && make_wrapper ${PN} "./BaldursGate64" "${dir}"
- use x86 && make_wrapper ${PN} "./BaldursGate" "${dir}"
-
- newicon "support/icon.png" "${PN}.png"
- make_desktop_entry "${PN}" "Baldur's Gate: Enhanced Edition" "${PN}"
-}