summaryrefslogtreecommitdiffstats
path: root/debian/lenny
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-09-14 16:04:51 +0200
committerSlávek Banko <slavek.banko@axis.cz>2012-09-14 16:05:22 +0200
commit4b357920dc023b08253a710ed94082909098e7e5 (patch)
treef7ab81c86e3420f6bce5f376e217c03bc9a4b0d7 /debian/lenny
parenta56a16489b56329bc01d22297532fb9d3a533e42 (diff)
downloadtde-packaging-4b357920dc023b08253a710ed94082909098e7e5.tar.gz
tde-packaging-4b357920dc023b08253a710ed94082909098e7e5.zip
Fix install directories for kpowersave on Debian and Ubuntu
Diffstat (limited to 'debian/lenny')
-rw-r--r--debian/lenny/applications/kpowersave/debian/install2
-rw-r--r--debian/lenny/applications/kpowersave/debian/kpowersave-trinity.linda2
-rw-r--r--debian/lenny/applications/kpowersave/debian/menu2
-rwxr-xr-xdebian/lenny/applications/kpowersave/debian/rules5
4 files changed, 7 insertions, 4 deletions
diff --git a/debian/lenny/applications/kpowersave/debian/install b/debian/lenny/applications/kpowersave/debian/install
index 4a1194bd1..7b00dd534 100644
--- a/debian/lenny/applications/kpowersave/debian/install
+++ b/debian/lenny/applications/kpowersave/debian/install
@@ -1 +1 @@
-debian/kpowersave.xpm usr/share/pixmaps
+debian/kpowersave.xpm opt/trinity/share/pixmaps
diff --git a/debian/lenny/applications/kpowersave/debian/kpowersave-trinity.linda b/debian/lenny/applications/kpowersave/debian/kpowersave-trinity.linda
index ff5153632..35bdc35cd 100644
--- a/debian/lenny/applications/kpowersave/debian/kpowersave-trinity.linda
+++ b/debian/lenny/applications/kpowersave/debian/kpowersave-trinity.linda
@@ -1,4 +1,4 @@
Tag: lib-not-in-shlibs
Tag: no-shlib-file
-Data: /usr/trinity/lib/libtdeinit_*.so
+Data: /opt/trinity/lib/libtdeinit_*.so
diff --git a/debian/lenny/applications/kpowersave/debian/menu b/debian/lenny/applications/kpowersave/debian/menu
index 6ae0f9833..0dbd62cc4 100644
--- a/debian/lenny/applications/kpowersave/debian/menu
+++ b/debian/lenny/applications/kpowersave/debian/menu
@@ -3,5 +3,5 @@
section="Applications/System/Monitoring"\
title="KPowersave"\
longtitle="Battery monitor and general power management"\
- icon="/usr/share/pixmaps/kpowersave.xpm"\
+ icon="/opt/trinity/share/pixmaps/kpowersave.xpm"\
command="/opt/trinity/bin/kpowersave"
diff --git a/debian/lenny/applications/kpowersave/debian/rules b/debian/lenny/applications/kpowersave/debian/rules
index 49718160e..991d42479 100755
--- a/debian/lenny/applications/kpowersave/debian/rules
+++ b/debian/lenny/applications/kpowersave/debian/rules
@@ -26,10 +26,13 @@ debian/stamp-bootstrap:
make -f admin/Makefile.common cvs
touch debian/stamp-bootstrap
-install/kpowersave::
+install/kpowersave-trinity::
install -p -D -m644 debian/kpowersave-trinity.lintian debian/kpowersave/opt/trinity/share/lintian/overrides/kpowersave
install -p -D -m644 debian/kpowersave-trinity.linda debian/kpowersave/opt/trinity/share/linda/overrides/kpowersave
+binary-install/kpowersave-trinity::
+ mv debian/kpowersave-trinity/usr/share/man debian/kpowersave-trinity/opt/trinity/share/
+
clean::
find . -name Makefile.in | xargs rm -f
rm -f acinclude.m4