wok-current view spectrwm/receipt @ rev 22611
updated codiad ( -> 2.8.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 10 13:31:59 2020 +0100 (2020-01-10) |
parents | 6135577f4d08 |
children | d60b622059e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="spectrwm"
4 VERSION="3.2.0"
5 CATEGORY="x-window"
6 TAGS="tile window-manager"
7 SHORT_DESC="Small dynamic tiling window manager for X11."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="ISC MIT"
10 WEB_SITE="https://github.com/conformal/spectrwm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/SPECTRWM_${VERSION//./_}.tar.gz"
15 DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft"
16 BUILD_DEPENDS="cacerts xorg-libX11-dev xorg-libXrandr-dev \
17 xorg-libXcursor-dev xorg-libXft-dev xcb-util-dev xcb-util-wm-dev \
18 xcb-util-keysyms-dev xorg-libXt-dev"
20 CONFIG_FILES="/etc/spectrwm.conf"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd linux
26 make PREFIX=/usr &&
27 make install PREFIX=/usr DESTDIR=$install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/* $fs
34 mkdir -p $fs/etc
36 # copy conf files (few more exists in $src)
37 cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc
39 # "switch on" keyboard mapping
40 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \
41 $fs/etc/spectrwm.conf
42 }