From daf30e4f24c4abc804f627c9502a6e61950b18d6 Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Sun, 10 Oct 2010 22:20:47 -0500 Subject: multimedia/vkeybd: Fix the desktop file by adding Categories 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: echo "Categories=Sound;MIDI;AudioVideo" >> \ $PKG/usr/share/applications/vkeybd.desktop (the maintainer din't answer my email) Signed-off-by: Erik Hanson Signed-off-by: Robby Workman --- multimedia/vkeybd/vkeybd.SlackBuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'multimedia') diff --git a/multimedia/vkeybd/vkeybd.SlackBuild b/multimedia/vkeybd/vkeybd.SlackBuild index 366d453f88da..987df0e7e504 100644 --- a/multimedia/vkeybd/vkeybd.SlackBuild +++ b/multimedia/vkeybd/vkeybd.SlackBuild @@ -5,7 +5,7 @@ # Written by Luis Henrique # 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 -- cgit v1.2.3