diff options
author | Diogo Pereira <sir.suriv@gmail.com> | 2018-09-21 12:20:15 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-09-21 17:51:18 +0200 |
commit | 4e5f8d63e18bb3b6d11ac10797305fdada9624b9 (patch) | |
tree | 8a7c0d5be59c128b5285101e3d629322e3cee9fc /games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild | |
parent | app-admin/passwordsafe: correct install locations (diff) | |
download | gentoo-4e5f8d63e18bb3b6d11ac10797305fdada9624b9.tar.gz gentoo-4e5f8d63e18bb3b6d11ac10797305fdada9624b9.tar.bz2 gentoo-4e5f8d63e18bb3b6d11ac10797305fdada9624b9.zip |
games-rpg/baldurs-gate-ee: bump to 2.5.23121
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Closes: https://github.com/gentoo/gentoo/pull/9747
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.ebuild | 53 |
1 files changed, 53 insertions, 0 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 new file mode 100644 index 000000000000..46669623b8ff --- /dev/null +++ b/games-rpg/baldurs-gate-ee/baldurs-gate-ee-2.5.23121.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop eutils unpacker + +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" + +DEPEND="app-arch/unzip" +RDEPEND="dev-libs/expat + dev-libs/openssl:0 + media-libs/openal + virtual/opengl + x11-libs/libX11" + +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}" +} |