Hello,

This is the fix to the source package I suggest. It installs the binary to
/usr/lib/games/opencity/opencity and a start-up script to /usr/games/opencity.

Probably it should be better done like in nethack-console: both the
binary and the script to run are in /usr/lib/games/nethack and symlink to
the script is in /usr/games.

--- opencity-0.0.4stable/debian/rules   2007-05-28 12:12:50.000000000 +0200
+++ opencity-0.0.4stable-fixed/debian/rules     2007-05-28 12:25:45.000000000 
+0200
@@ -58,7 +58,12 @@

        # Add here commands to install the package into debian/opencity.
        $(MAKE) install DESTDIR=$(CURDIR)/debian/opencity
-       mv $(CURDIR)/debian/opencity/usr/bin $(CURDIR)/debian/opencity/usr/games
+       mkdir -p $(CURDIR)/debian/opencity/usr/lib/games/opencity
+       mv $(CURDIR)/debian/opencity/usr/bin/opencity \
+               $(CURDIR)/debian/opencity/usr/lib/games/opencity/opencity
+       mkdir -p "$(CURDIR)/debian/opencity/usr/games"
+       cp "$(CURDIR)/opencity.sh" 
"$(CURDIR)/debian/opencity/usr/games/opencity"
+       chmod a+x "$(CURDIR)/debian/opencity/usr/games/opencity"

 binary-indep: build install
--- opencity-0.0.4stable/debian/opencity.sh     1970-01-01 01:00:00.000000000 
+0100
+++ opencity-0.0.4stable-fixed/opencity.sh      2007-05-28 12:25:56.000000000 
+0200
@@ -0,0 +1,5 @@
+#!/bin/sh
+OPENCITY_HOMEDIR="/usr/share/opencity" && \
+OPENCITY_BIN="/usr/lib/games/opencity/opencity" && \
+${OPENCITY_BIN} --homedir ${OPENCITY_HOMEDIR}
+

Regards,
jetxee



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to