[Lunar-commits] <moonbase-other> netwalk: correct /usr/games/share/..
v4hn
me at v4hn.de
Thu Jul 25 02:36:02 CEST 2013
commit 8038cd445574fa1ad721537db0c7d9a62d7216e5
Author: v4hn <me at v4hn.de>
Date: Wed, 24 Jul 2013 17:35:09 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/8038cd445574fa1ad721537db0c7d9a62d7216e5
netwalk: correct /usr/games/share/..
---
games/netwalk/BUILD | +0/-11
games/netwalk/PRE_BUILD | +5/-0
2 files changed, 5 insertions(+), 11 deletions(-)
--- a/games/netwalk/BUILD
+++ /dev/null
@@ -1,11 +0,0 @@
-(
- sedit 's/\/usr\/share\/netwalk/\/usr\/games\/share\/netwalk/' sharedir.h &&
-
- make &&
- prepare_install &&
- install -m 755 netwalk /usr/games &&
- install -d /usr/games/share/netwalk &&
- install -m 644 Vera.ttf /usr/games/share/netwalk/
-
-) > $C_FIFO 2>&1
-
--- /dev/null
+++ b/games/netwalk/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+
+echo '#define NETWALK_SHARE_DIR "/usr/share/games/netwalk"' > sharedir.h &&
+
+sedit 's:/bin$:/games:; s:/share/:/share/games/:' Makefile
More information about the Lunar-commits
mailing list