wok-next annotate spectrwm/receipt @ rev 21168

New package asciidoctor
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 25 12:22:25 2019 +0200 (2019-03-25)
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 }