diff options
author | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-02-10 19:47:05 +0300 |
---|---|---|
committer | Azamat H. Hackimov <azamat.hackimov@gmail.com> | 2020-02-10 21:11:00 +0300 |
commit | 6f29901c3ebe47bfd1956cf1139f88993ea557b5 (patch) | |
tree | 2d4f1ee831f781fd680d53a7609cba633848cf57 /games-rpg | |
parent | games-rpg/zeldaolb: update package (diff) | |
download | gamerlay-6f29901c3ebe47bfd1956cf1139f88993ea557b5.tar.gz gamerlay-6f29901c3ebe47bfd1956cf1139f88993ea557b5.tar.bz2 gamerlay-6f29901c3ebe47bfd1956cf1139f88993ea557b5.zip |
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@gmail.com>
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/zelda3t/zelda3t-1.9.ebuild | 12 |
1 files 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() { |