wok-next view spectrwm/receipt @ rev 21605
dropbear: add ed25519 key
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 25 08:01:52 2020 +0000 (2020-06-25) |
parents | d5aab818505e |
children |
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="libx11-dev libxrandr-dev \
15 libxcursor-dev libxft-dev xcb-util-dev xcb-util-wm-dev \
16 xcb-util-keysyms-dev 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="xcb-util xcb-util-keysyms xcb-util-wm libxcursor libxft"
33 CONFIG_FILES="/etc/spectrwm.conf"
34 TAGS="tile window-manager"
35 }