desktop/qtile: Fix manpages, note deps.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
This commit is contained in:
David Spencer 2016-05-31 22:25:37 +01:00 committed by Willy Sudiarto Raharjo
parent 4ecda6f09b
commit da711b86de
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 7 additions and 0 deletions

View file

@ -2,3 +2,6 @@ Qtile is simple, small, and extensible. It's easy to write your own
layouts, widgets, and built-in commands. Qtile is written and configured
entirely in Python, which means you can leverage the full power and
flexibility of the language to make it fit your needs.
You will need to build cairocffi with its optional python-xcffib
dependency.

View file

@ -74,6 +74,10 @@ 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
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