[lordsawar] 08/133: Fix path in menu Finally get /usr/share/locales and /usr/share/games to work

Markus Koschany apo-guest at moszumanska.debian.org
Thu Jul 2 17:37:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

apo-guest pushed a commit to branch master
in repository lordsawar.

commit 8ff1d10d10d38c454996c20e2de0426d113cba23
Author: Barry deFreese <bddebian at comcast.net>
Date:   Fri Oct 5 02:06:28 2007 +0000

    Fix path in menu
    Finally get /usr/share/locales and /usr/share/games to work
---
 debian/changelog              | 2 ++
 debian/lordsawar-data.install | 4 ++--
 debian/lordsawar.install      | 2 +-
 debian/lordsawar.menu         | 2 +-
 debian/rules                  | 7 ++++++-
 5 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index fb07fa7..358637a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ lordsawar (0.0.3-1) UNRELEASED; urgency=low
   * Initial release
   * Add simple man pages for executables
   * Split into binary and data packages
+  * Move binaries to /usr/games
+  * Move shared data to /usr/share/games
 
  -- Barry deFreese <bddebian at comcast.net>  Thu, 27 Sep 2007 21:27:07 -0400
 
diff --git a/debian/lordsawar-data.install b/debian/lordsawar-data.install
index f00d2bd..0985907 100644
--- a/debian/lordsawar-data.install
+++ b/debian/lordsawar-data.install
@@ -1,2 +1,2 @@
-/usr/share/lordsawar/
-/usr/share/locale/
+/usr/share/games/lordsawar/
+/usr/share/games/locale/ /usr/share/locale/
diff --git a/debian/lordsawar.install b/debian/lordsawar.install
index bb0ee23..227be2b 100644
--- a/debian/lordsawar.install
+++ b/debian/lordsawar.install
@@ -1,2 +1,2 @@
 usr/games/
-usr/share/applications/
+usr/share/games/applications/ usr/share/
diff --git a/debian/lordsawar.menu b/debian/lordsawar.menu
index 5f21557..1565ffd 100644
--- a/debian/lordsawar.menu
+++ b/debian/lordsawar.menu
@@ -1,2 +1,2 @@
 ?package(lordsawar):needs="X11" section="Games/Strategy"\
-  title="LordsAWar" command="/usr/bin/lordsawar"
+  title="LordsAWar" command="/usr/games/lordsawar"
diff --git a/debian/rules b/debian/rules
index 7dd80e9..d73d990 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,12 @@ endif
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
 	cp -f /usr/share/misc/config.guess config.guess
 endif
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --bindir=\$${prefix}/games --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+	--prefix=/usr --bindir=\$${prefix}/games \
+	--datadir=\$${prefix}/share/games \
+	--mandir=\$${prefix}/share/man \
+	--infodir=\$${prefix}/share/info \
+	CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
 
 
 build: build-stamp

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/lordsawar.git



More information about the Pkg-games-commits mailing list