summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-02-01 01:06:58 +0000
committerSam James <sam@gentoo.org>2021-02-01 02:07:23 +0000
commitdf698e7fb683b112df9d75f19bbf5d82a4a8ae28 (patch)
treeecd4675ae209816d8d09405abff945379c9fec07 /games-arcade
parentgui-libs/display-manager-init: Add ~riscv keyword (diff)
downloadgentoo-df698e7fb683b112df9d75f19bbf5d82a4a8ae28.tar.gz
gentoo-df698e7fb683b112df9d75f19bbf5d82a4a8ae28.tar.bz2
gentoo-df698e7fb683b112df9d75f19bbf5d82a4a8ae28.zip
games-arcade/jvgs: fix installed binary
Actually install the binary we build. Thanks-to: Samuel Bauer <samuel.bauer@yahoo.fr> Closes: https://bugs.gentoo.org/687610 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-arcade')
-rw-r--r--games-arcade/jvgs/jvgs-0.5-r1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/games-arcade/jvgs/jvgs-0.5-r1.ebuild b/games-arcade/jvgs/jvgs-0.5-r1.ebuild
index 45d527c885be..6fa5af29b09c 100644
--- a/games-arcade/jvgs/jvgs-0.5-r1.ebuild
+++ b/games-arcade/jvgs/jvgs-0.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -26,8 +26,14 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${P}-src
PATCHES=( "${FILESDIR}"/${PN}-0.5-fix-build-system.patch )
+src_prepare() {
+ sed -i "s:main.lua:/usr/share/${PN}/&:" src/main.cpp
+ default
+ eapply_user
+}
+
src_install() {
- dobin src/${PN}
+ dobin ${BUILD_DIR}/src/${PN}
insinto /usr/share/${PN}
doins -r main.lua resources