* [gentoo-commits] proj/gamerlay:master commit in: games-rpg/zelda3t/
@ 2020-02-10 18:11 Azamat H. Hackimov
0 siblings, 0 replies; only message in thread
From: Azamat H. Hackimov @ 2020-02-10 18:11 UTC (permalink / raw
To: gentoo-commits
commit: 6f29901c3ebe47bfd1956cf1139f88993ea557b5
Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Mon Feb 10 16:47:05 2020 +0000
Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru>
CommitDate: Mon Feb 10 18:11:00 2020 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=6f29901c
games-rpg/zelda3t: fix package
Fix execution of package
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
games-rpg/zelda3t/zelda3t-1.9.ebuild | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/games-rpg/zelda3t/zelda3t-1.9.ebuild b/games-rpg/zelda3t/zelda3t-1.9.ebuild
index 8c52089..4f7ff19 100644
--- a/games-rpg/zelda3t/zelda3t-1.9.ebuild
+++ b/games-rpg/zelda3t/zelda3t-1.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -24,17 +24,15 @@ RDEPEND="
"
S="${WORKDIR}/${MY_PN}/src"
+PATCHES=( "${FILESDIR}/${PN}-homedir.patch" )
src_prepare() {
default
- eapply "${FILESDIR}/${PN}-homedir.patch"
sed -i -e "s:Zelda3T:"${PN}":g" -i Makefile
sed -i -e "s:CFLAGS =:#CFLAGS =:g" -i Makefile
-# for i in `find ${MY_PN}/src -name *.cpp`; do sed -i "$i" -e "s:data/:"${GAMES_DATADIR}"/"${PN}/data/":g"; done
-}
-
-src_compile() {
- emake || die "emake failed"
+ for i in `find . -name "*.cpp"`; do
+ sed -i "$i" -e "s:data/:/usr/share/"${PN}"/data/:g";
+ done
}
src_install() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-10 18:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-10 18:11 [gentoo-commits] proj/gamerlay:master commit in: games-rpg/zelda3t/ Azamat H. Hackimov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox