mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
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>
This commit is contained in:
parent
532884e7d6
commit
daf30e4f24
1 changed files with 5 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue