wok-next annotate 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 |
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@21078 | 14 BUILD_DEPENDS="libx11-dev libxrandr-dev \ |
al@21078 | 15 libxcursor-dev libxft-dev xcb-util-dev xcb-util-wm-dev \ |
al@21078 | 16 xcb-util-keysyms-dev 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@21078 | 32 DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm libxcursor libxft" |
al@21020 | 33 CONFIG_FILES="/etc/spectrwm.conf" |
al@21020 | 34 TAGS="tile window-manager" |
al@18177 | 35 } |