aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vkeybd/vkeybd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vkeybd/vkeybd.SlackBuild')
-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 366d453f88da..987df0e7e504 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