wok-6.x view spectrwm/receipt @ rev 21102
perl-image-magick, libjpeg: update version, jabberd2: fix deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 18 19:29:35 2019 +0100 (2019-03-18) |
parents | c5bef900f5df |
children | 35a3fc01466b |
line source
1 # SliTaz package receipt.
3 PACKAGE="spectrwm"
4 VERSION="2.7.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Small dynamic tiling window manager for X11"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="ISC MIT"
9 WEB_SITE="https://github.com/conformal/spectrwm"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="https://opensource.conformal.com/snapshots/spectrwm/$TARBALL"
12 CONFIG_FILES="/etc/spectrwm.conf"
13 TAGS="tile window-manager"
15 DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft"
16 BUILD_DEPENDS="wget 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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd linux
24 PREFIX=/usr make && PREFIX=/usr DESTDIR=$install make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs
31 mkdir -p $fs/etc
32 # copy conf files (few more exists in $src)
33 cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc
34 # "switch on" keyboard mapping
35 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \
36 $fs/etc/spectrwm.conf
37 }