aboutsummaryrefslogtreecommitdiff
path: root/desktop/qtile/qtile.SlackBuild
diff options
context:
space:
mode:
authorIsaac Yu <isaacyu1@isaacyu1.com>2022-02-03 12:01:33 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 13:29:08 +0700
commit65831565aa94a8b39da5425c7f4d21f3447caad4 (patch)
treec04f4195969ae4b322429f2833190c651d42f3c4 /desktop/qtile/qtile.SlackBuild
parent1b5d29f6c13082ea309eeca5784c9724354d9165 (diff)
desktop/qtile: Update for 0.20.0 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/qtile/qtile.SlackBuild')
-rw-r--r--desktop/qtile/qtile.SlackBuild14
1 files changed, 4 insertions, 10 deletions
diff --git a/desktop/qtile/qtile.SlackBuild b/desktop/qtile/qtile.SlackBuild
index 31acf70f96eb..d5b1f4b3e3a0 100644
--- a/desktop/qtile/qtile.SlackBuild
+++ b/desktop/qtile/qtile.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for qtile
-# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qtile
-VERSION=${VERSION:-0.13.0}
+VERSION=${VERSION:-0.20.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,18 +80,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Fix setup install for Slackware
-patch -p1 < $CWD/setup.patch
-
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mv $PKG/usr/share/man $PKG/usr/man
-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
-
# Install an xinitrc script
mkdir -p $PKG/etc/X11/xinit
install -m 0755 $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM