wok-next annotate 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 |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
al@18177 | 2 |
al@18177 | 3 PACKAGE="spectrwm" |
al@18177 | 4 VERSION="2.7.2" |
al@18177 | 5 CATEGORY="x-window" |
al@18177 | 6 SHORT_DESC="Small dynamic tiling window manager for X11" |
al@18177 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18177 | 8 LICENSE="ISC MIT" |
al@20949 | 9 WEB_SITE="https://github.com/conformal/spectrwm" |
al@21020 | 10 |
al@18177 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
al@18177 | 12 WGET_URL="https://opensource.conformal.com/snapshots/spectrwm/$TARBALL" |
al@18177 | 13 |
al@20513 | 14 BUILD_DEPENDS="xorg-libX11-dev xorg-libXrandr-dev \ |
al@20450 | 15 xorg-libXcursor-dev xorg-libXft-dev xorg-xcb-util-dev xorg-xcb-util-wm-dev \ |
al@20450 | 16 xorg-xcb-util-keysyms-dev xorg-libXt-dev" |
al@18177 | 17 |
al@21020 | 18 compile_rules() { |
al@18177 | 19 cd linux |
al@21020 | 20 PREFIX=/usr make && |
al@21020 | 21 PREFIX=/usr DESTDIR=$install make install |
al@18177 | 22 } |
al@18177 | 23 |
al@21020 | 24 genpkg_rules() { |
al@18177 | 25 cp -a $install/* $fs |
al@18177 | 26 mkdir -p $fs/etc |
al@18177 | 27 # copy conf files (few more exists in $src) |
al@18177 | 28 cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc |
al@18177 | 29 # "switch on" keyboard mapping |
al@18177 | 30 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \ |
al@18177 | 31 $fs/etc/spectrwm.conf |
al@21020 | 32 DEPENDS="xorg-xcb-util xorg-xcb-util-keysyms xorg-xcb-util-wm xorg-libXcursor xorg-libXft" |
al@21020 | 33 CONFIG_FILES="/etc/spectrwm.conf" |
al@21020 | 34 TAGS="tile window-manager" |
al@18177 | 35 } |