aboutsummaryrefslogtreecommitdiff
path: root/desktop/screenkey/screenkey.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2019-07-08 09:36:39 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-13 08:31:01 +0700
commit59cf81cf9bb986b59e0f74d3efd598061aa0cac1 (patch)
treea38d0321411f9b5ec064b15484c697af83967fe8 /desktop/screenkey/screenkey.SlackBuild
parent1bed56d8894cb373b4b777277b1ed76b8ec4fabb (diff)
desktop/screenkey: Install desktop file.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'desktop/screenkey/screenkey.SlackBuild')
-rw-r--r--desktop/screenkey/screenkey.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/desktop/screenkey/screenkey.SlackBuild b/desktop/screenkey/screenkey.SlackBuild
index 3c49cc8b078d..13e7f1b4b04a 100644
--- a/desktop/screenkey/screenkey.SlackBuild
+++ b/desktop/screenkey/screenkey.SlackBuild
@@ -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