aboutsummaryrefslogtreecommitdiff
path: root/desktop/qtile/qtile.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/qtile/qtile.SlackBuild')
-rw-r--r--desktop/qtile/qtile.SlackBuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/desktop/qtile/qtile.SlackBuild b/desktop/qtile/qtile.SlackBuild
index 6ec3544025f3a..58c7536dd6952 100644
--- a/desktop/qtile/qtile.SlackBuild
+++ b/desktop/qtile/qtile.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qtile
-VERSION=${VERSION:-0.6}
+VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,12 +74,20 @@ python 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
+# Install an xinitrc script
+mkdir -p $PKG/etc/X11/xinit
+install -m 0755 $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM
+
+# 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 INSTALL.rst MANIFEST.in CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.rst LICENSE INSTALL.rst CHANGELOG $CONFIG $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}