wok-next view spectrwm/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 8e1b2a143eb3
children 5669e8b3be70
line source
1 # SliTaz package receipt v2.
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"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="https://opensource.conformal.com/snapshots/spectrwm/$TARBALL"
14 BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev \
15 xorg-libXcursor-dev xorg-libXft-dev xorg-xcb-util-dev xorg-xcb-util-wm-dev \
16 xorg-xcb-util-keysyms-dev xorg-libXt-dev"
18 compile_rules() {
19 cd linux
20 PREFIX=/usr make &&
21 PREFIX=/usr DESTDIR=$install make install
22 }
24 genpkg_rules() {
25 cp -a $install/* $fs
26 mkdir -p $fs/etc
27 # copy conf files (few more exists in $src)
28 cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc
29 # "switch on" keyboard mapping
30 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \
31 $fs/etc/spectrwm.conf
32 DEPENDS="xorg-xcb-util xorg-xcb-util-keysyms xorg-xcb-util-wm xorg-libXcursor xorg-libXft"
33 CONFIG_FILES="/etc/spectrwm.conf"
34 TAGS="tile window-manager"
35 }