summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2009-09-07 18:57:29 +0000
committer Eric Hameleers <alien@slackware.com>2009-09-07 18:57:29 +0000
commit8593ae2cc38c94cd6fd4d0bad12e3595ee2472a6 (patch)
tree2cf491205d1affbd40ef54a185d9cd3efff5a854
parent5ca0852f5657facd9bd9c9552342be2b73258fdd (diff)
downloadasb-8593ae2cc38c94cd6fd4d0bad12e3595ee2472a6.tar.gz
asb-8593ae2cc38c94cd6fd4d0bad12e3595ee2472a6.tar.xz
Fix the KDE menu entry
-rwxr-xr-xwiipresent/build/wiipresent.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/wiipresent/build/wiipresent.SlackBuild b/wiipresent/build/wiipresent.SlackBuild
index 04b73d46..9a14cf13 100755
--- a/wiipresent/build/wiipresent.SlackBuild
+++ b/wiipresent/build/wiipresent.SlackBuild
@@ -141,6 +141,10 @@ CFLAGS="$SLKCFLAGS" \
make lib=/usr/lib${LIBDIRSUFFIX} 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
make DESTDIR=$PKG install 2>&1 |tee $OUTPUT/install-${PRGNAM}.log
+# Fix the stupid GenericName which appears in the KDE menu:
+sed -i -e s'/^GenericName=/&Wiimote Presentation Assistant/' \
+ $PKG/usr/share/applications/wiipresent.desktop
+
# Add this to the doinst.sh:
! [ -d $PKG/install ] && mkdir -p $PKG/install
cat <<EOT >> $PKG/install/doinst.sh