summaryrefslogtreecommitdiffstats
path: root/debian/squeeze/applications/knights
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-09-14 01:35:44 +0200
committerSlávek Banko <slavek.banko@axis.cz>2012-09-14 02:06:33 +0200
commit95cbed5730e3e48f5636732c17a877b793b74acf (patch)
treeb057535cf7b0b9eaadb5947e392d31390a3c53af /debian/squeeze/applications/knights
parent5ce0295114da6a53c24202fe049121449fd25c3d (diff)
downloadtde-packaging-95cbed5730e3e48f5636732c17a877b793b74acf.tar.gz
tde-packaging-95cbed5730e3e48f5636732c17a877b793b74acf.zip
Fix install directories for knights on Debian and Ubuntu
Diffstat (limited to 'debian/squeeze/applications/knights')
-rw-r--r--debian/squeeze/applications/knights/debian/debiandirs14
-rw-r--r--debian/squeeze/applications/knights/debian/menu4
-rwxr-xr-xdebian/squeeze/applications/knights/debian/rules1
3 files changed, 10 insertions, 9 deletions
diff --git a/debian/squeeze/applications/knights/debian/debiandirs b/debian/squeeze/applications/knights/debian/debiandirs
index be2d7b174..90247b9a0 100644
--- a/debian/squeeze/applications/knights/debian/debiandirs
+++ b/debian/squeeze/applications/knights/debian/debiandirs
@@ -1,10 +1,10 @@
-export kde_prefix=/usr
+export kde_prefix=/opt/trinity
export sysconfdir=/etc
-export kde_includedir=/usr/include/tde
-export infodir=/usr/share/info
-export mandir=/usr/share/man
-export qtdir=/usr/share/qt3
-export kde_cgidir=/usr/lib/cgi-bin
+export kde_includedir=/opt/trinity/include/tde
+export infodir=/opt/trinity/share/info
+export mandir=/opt/trinity/share/man
+export qtdir=/opt/trinity/share/qt3
+export kde_cgidir=/opt/trinity/lib/cgi-bin
export kde_confdir=/etc/trinity
-export kde_htmldir=/usr/share/doc/tde/HTML
+export kde_htmldir=/opt/trinity/share/doc/tde/HTML
configkde=--disable-debug --disable-rpath --prefix=$(kde_prefix) --sysconfdir=$(sysconfdir) --includedir=$(kde_includedir) --infodir=$(infodir) --mandir=$(mandir) --with-qt-dir=$(qtdir)
diff --git a/debian/squeeze/applications/knights/debian/menu b/debian/squeeze/applications/knights/debian/menu
index bfd8e2f01..f2f72ca74 100644
--- a/debian/squeeze/applications/knights/debian/menu
+++ b/debian/squeeze/applications/knights/debian/menu
@@ -2,5 +2,5 @@
needs="X11"\
section="Games/Board"\
title="Knights"\
-command="/usr/bin/knights"\
-icon="/usr/share/pixmaps/knights.xpm"
+command="/opt/trinity/bin/knights"\
+icon="/opt/trinity/share/pixmaps/knights.xpm"
diff --git a/debian/squeeze/applications/knights/debian/rules b/debian/squeeze/applications/knights/debian/rules
index 7bbbd796f..ab81cb6e3 100755
--- a/debian/squeeze/applications/knights/debian/rules
+++ b/debian/squeeze/applications/knights/debian/rules
@@ -98,6 +98,7 @@ binary-arch: build install
dh_installmenu
dh_icons
dh_installman debian/knights.1
+ mv debian/knights-trinity/usr/share/man debian/knights-trinity/opt/trinity/share/
dh_link
dh_strip
dh_compress -X.docbook