wok-next view spectrwm/receipt @ rev 20617
Fix build xchat, xchat-plugin, xget, xine-plugin; xorg-xf86-video-geode isn't compatible with 64-bit arch
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 21 13:54:55 2018 +0300 (2018-04-21) |
parents | 7eb047d2b438 |
children | 8e1b2a143eb3 |
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://opensource.conformal.com/wiki/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="xorg-xcb-util xorg-xcb-util-keysyms xorg-xcb-util-wm xorg-libXcursor xorg-libXft"
16 BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev \
17 xorg-libXcursor-dev xorg-libXft-dev xorg-xcb-util-dev xorg-xcb-util-wm-dev \
18 xorg-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 }