# HG changeset patch # User Aleksej Bobylev # Date 1435886582 -10800 # Node ID c5bef900f5dfd30fe220eb4c1ee0d4f31269eea8 # Parent 919c384354f416c045d7b94febd402f44ccfe651 Add spectrwm diff -r 919c384354f4 -r c5bef900f5df spectrwm/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spectrwm/description.txt Fri Jul 03 04:23:02 2015 +0300 @@ -0,0 +1,5 @@ +spectrwm is a small dynamic tiling window manager for X11. It tries to stay out +of the way so that valuable screen real estate can be used for much more +important stuff. It has sane defaults and does not require one to learn +a language to do any configuration. It was written by hackers for hackers and it +strives to be small, compact and fast. diff -r 919c384354f4 -r c5bef900f5df spectrwm/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spectrwm/receipt Fri Jul 03 04:23:02 2015 +0300 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="spectrwm" +VERSION="2.7.2" +CATEGORY="x-window" +SHORT_DESC="Small dynamic tiling window manager for X11" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="ISC MIT" +WEB_SITE="https://opensource.conformal.com/wiki/spectrwm" +TARBALL="$PACKAGE-$VERSION.tgz" +WGET_URL="https://opensource.conformal.com/snapshots/spectrwm/$TARBALL" +CONFIG_FILES="/etc/spectrwm.conf" +TAGS="tile window-manager" + +DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft" +BUILD_DEPENDS="wget cacerts xorg-libX11-dev xorg-libXrandr-dev \ +xorg-libXcursor-dev xorg-libXft-dev xcb-util-dev xcb-util-wm-dev \ +xcb-util-keysyms-dev xorg-libXt-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd linux + PREFIX=/usr make && PREFIX=/usr DESTDIR=$install make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + mkdir -p $fs/etc + # copy conf files (few more exists in $src) + cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc + # "switch on" keyboard mapping + sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \ + $fs/etc/spectrwm.conf +}