summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-08-21 22:42:53 +0100
committerSam James <sam@gentoo.org>2021-08-23 05:05:47 +0100
commit6134838e901b9883d46b877534d756dd96a60489 (patch)
treeab9d127a9d3950ea9f94274946e42d35a23a70c3 /games-fps
parentgames-fps/etqw-demo: use non-relative wrapper path (diff)
downloadgentoo-6134838e901b9883d46b877534d756dd96a60489.tar.gz
gentoo-6134838e901b9883d46b877534d756dd96a60489.tar.bz2
gentoo-6134838e901b9883d46b877534d756dd96a60489.zip
games-fps/ezquake-bin: use non-relative wrapper path
Bug: https://bugs.gentoo.org/809356 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/ezquake-bin/ezquake-bin-2.2-r3.ebuild (renamed from games-fps/ezquake-bin/ezquake-bin-2.2-r2.ebuild)8
1 files changed, 4 insertions, 4 deletions
diff --git a/games-fps/ezquake-bin/ezquake-bin-2.2-r2.ebuild b/games-fps/ezquake-bin/ezquake-bin-2.2-r3.ebuild
index 2a31a079e3b..d4d62ccdf6f 100644
--- a/games-fps/ezquake-bin/ezquake-bin-2.2-r2.ebuild
+++ b/games-fps/ezquake-bin/ezquake-bin-2.2-r3.ebuild
@@ -33,8 +33,8 @@ RDEPEND="
x11-libs/libXxf86vm
"
-MY_DIR=opt/${PN}
-QA_PREBUILT="${MY_DIR}/ezquake*"
+MY_DIR=/opt/${PN}
+QA_PREBUILT="${MY_DIR#/}/ezquake*"
src_unpack() {
unpack ${A}
@@ -50,9 +50,9 @@ src_unpack() {
src_install() {
exeinto ${MY_DIR}
- insinto ${MY_DIR}
-
doexe ezquake-gl.glx
+
+ insinto ${MY_DIR}
doins -r ezquake qw
dosym ../../usr/share/quake1/id1 ${MY_DIR}/id1
make_wrapper ezquake-gl.glx ./ezquake-gl.glx "${MY_DIR}" "${MY_DIR}"