aboutsummaryrefslogtreecommitdiff
path: root/desktop/qtile/qtile.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-23 16:56:58 +0700
committerErik Hanson <erik@slackbuilds.org>2014-04-27 12:18:14 -0500
commitbaba4a93b6738bdd0d69568b3dbf7fab08e6371f (patch)
tree46bf2be26140e3ca43b9b7d9540f35861b41cac1 /desktop/qtile/qtile.SlackBuild
parent5ed6e7e52a9894fa554104ced1ae51ec1366ee08 (diff)
desktop/qtile: Updated for version 0.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 6ec3544025f3..58c7536dd695 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}