wok-next view spectrwm/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
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 }