games-puzzle/world-of-goo-hb: Fix bad usex usage on x86

Closes: https://bugs.gentoo.org/720186
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
James Le Cuirot
2020-05-01 00:34:58 +01:00
parent d43aca579c
commit dd36e593f9

View File

@@ -51,12 +51,12 @@ src_unpack() {
src_install() {
exeinto "${dir}"
newexe data/x86$(usex amd64 _64)/${MY_PN}.bin.x86$(usex amd64 _64) ${MY_PN}.bin
newexe data/x86$(usex amd64 _64 "")/${MY_PN}.bin.x86$(usex amd64 _64 "") ${MY_PN}.bin
dosym "../..${dir}"/${MY_PN}.bin /usr/bin/${PN%-*}
insinto "${dir}"
doins -r data/noarch/game/
use bundled-libs && doins -r data/x86$(usex amd64 _64)/lib$(usex amd64 64)/
use bundled-libs && doins -r data/x86$(usex amd64 _64 "")/lib$(usex amd64 64 "")/
newicon -s 256 data/noarch/game/gooicon.png ${PN%-*}.png
make_desktop_entry ${PN%-*} "World of Goo" ${PN%-*}