aboutsummaryrefslogtreecommitdiff
path: root/desktop/qtile/qtile.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-05-25 11:42:34 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-27 07:23:40 +0700
commitfd64b6876474945e9e3307977ee589448a326d80 (patch)
treeeb8c7010d7c642d57c6cf0f9c841fa89414bc71a /desktop/qtile/qtile.SlackBuild
parent364da04dd857fda739e6fe874ae8e7f15a5e88c0 (diff)
desktop/qtile: Updated for version 0.10.6.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'desktop/qtile/qtile.SlackBuild')
-rw-r--r--desktop/qtile/qtile.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/desktop/qtile/qtile.SlackBuild b/desktop/qtile/qtile.SlackBuild
index 983315e4b28f..e75e5ff80672 100644
--- a/desktop/qtile/qtile.SlackBuild
+++ b/desktop/qtile/qtile.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qtile
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qtile
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-0.10.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -78,11 +78,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/etc/X11/xinit
install -m 0755 $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM
+# Install desktop file
+mkdir -p $PKG/usr/share/xsessions
+install -D -m644 resources/$PRGNAM.desktop $PKG/usr/share/xsessions/$PRGNAM.desktop
+
# example for default config file maybe installed ~/$USER/.config/qtile
CONFIG="libqtile/resources/default_config.py"
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.rst LICENSE CHANGELOG docs/conf.py $CONFIG $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst LICENSE CHANGELOG $CONFIG $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install