desktop/screenkey: Install desktop file.

Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
This commit is contained in:
Benjamin Trigona-Harany 2019-07-08 09:36:39 -07:00 committed by Willy Sudiarto Raharjo
parent 1bed56d889
commit 59cf81cf9b
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -2,7 +2,7 @@
# Slackware build script for screenkey
# Copyright 2013 Benjamin Trigona-Harany
# Copyright 2013-2019 Benjamin Trigona-Harany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -24,7 +24,7 @@
PRGNAM=screenkey
VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -71,8 +71,13 @@ find -L . \
python setup.py install --root=$PKG
install -D -m 0644 data/$PRGNAM.desktop \
$PKG/usr/share/applications/$PRGNAM.desktop
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING.txt NEWS.rst README.rst $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING.txt NEWS.rst README.rst \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install