wok rev 18177

Add spectrwm
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jul 03 04:23:02 2015 +0300 (2015-07-03)
parents 919c384354f4
children 7dd80db4b5f9
files spectrwm/description.txt spectrwm/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/spectrwm/description.txt	Fri Jul 03 04:23:02 2015 +0300
     1.3 @@ -0,0 +1,5 @@
     1.4 +spectrwm is a small dynamic tiling window manager for X11. It tries to stay out
     1.5 +of the way so that valuable screen real estate can be used for much more
     1.6 +important stuff. It has sane defaults and does not require one to learn
     1.7 +a language to do any configuration. It was written by hackers for hackers and it
     1.8 +strives to be small, compact and fast.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/spectrwm/receipt	Fri Jul 03 04:23:02 2015 +0300
     2.3 @@ -0,0 +1,37 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="spectrwm"
     2.7 +VERSION="2.7.2"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Small dynamic tiling window manager for X11"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="ISC MIT"
    2.12 +WEB_SITE="https://opensource.conformal.com/wiki/spectrwm"
    2.13 +TARBALL="$PACKAGE-$VERSION.tgz"
    2.14 +WGET_URL="https://opensource.conformal.com/snapshots/spectrwm/$TARBALL"
    2.15 +CONFIG_FILES="/etc/spectrwm.conf"
    2.16 +TAGS="tile window-manager"
    2.17 +
    2.18 +DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft"
    2.19 +BUILD_DEPENDS="wget cacerts xorg-libX11-dev xorg-libXrandr-dev \
    2.20 +xorg-libXcursor-dev xorg-libXft-dev xcb-util-dev xcb-util-wm-dev \
    2.21 +xcb-util-keysyms-dev xorg-libXt-dev"
    2.22 +
    2.23 +# Rules to configure and make the package.
    2.24 +compile_rules()
    2.25 +{
    2.26 +	cd linux
    2.27 +	PREFIX=/usr make && PREFIX=/usr DESTDIR=$install make install
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	cp -a $install/* $fs
    2.34 +	mkdir -p $fs/etc
    2.35 +	# copy conf files (few more exists in $src)
    2.36 +	cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc
    2.37 +	# "switch on" keyboard mapping
    2.38 +	sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \
    2.39 +		$fs/etc/spectrwm.conf
    2.40 +}