summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-10-10 22:20:47 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-10-10 22:20:47 -0500
commitdaf30e4f24c4abc804f627c9502a6e61950b18d6 (patch)
treee0e25cc785e309d18b83ac5de890ffd8cf9672c1
parent532884e7d69d24e1b87b42e5c6bf17c4a9414586 (diff)
downloadslackbuilds-daf30e4f24c4abc804f627c9502a6e61950b18d6.tar.gz
multimedia/vkeybd: Fix the desktop file by adding Categories
<clavisound> Can someone correct the desktop file in vkeybd? The file vkeybd.desktop is wrong (no category). It goes to lost+found, the Slackbuild needs this line: <clavisound> echo "Categories=Sound;MIDI;AudioVideo" >> \ $PKG/usr/share/applications/vkeybd.desktop <clavisound> (the maintainer din't answer my email) Signed-off-by: Erik Hanson <erik@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--multimedia/vkeybd/vkeybd.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/multimedia/vkeybd/vkeybd.SlackBuild b/multimedia/vkeybd/vkeybd.SlackBuild
index 366d453f88..987df0e7e5 100644
--- a/multimedia/vkeybd/vkeybd.SlackBuild
+++ b/multimedia/vkeybd/vkeybd.SlackBuild
@@ -5,7 +5,7 @@
# Written by Luis Henrique <lmello.009@gmail.com>
# Thanks to the Ubuntu community for some tips on the vkeybd keymap settings!
-# Check https://help.ubuntu.com/community/HowToVirtualKeyboardKeymapping for
+# Check https://help.ubuntu.com/community/HowToVirtualKeyboardKeymapping for
# more information.
PRGNAM=vkeybd
@@ -13,12 +13,10 @@ VERSION=${VERSION:-0.1.17b}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -68,10 +66,10 @@ make \
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+echo "Categories=Sound;MIDI;AudioVideo;" >> $PKG/usr/share/applications/vkeybd.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION