wok annotate spectrwm/receipt @ rev 22805

updated gawk (4.2.1 -> 5.0.1)
author Hans-G?nter Theisgen
date Tue Jan 28 10:03:39 2020 +0100 (2020-01-28)
parents 6135577f4d08
children d60b622059e2
rev   line source
al@18177 1 # SliTaz package receipt.
al@18177 2
al@18177 3 PACKAGE="spectrwm"
Hans-G?nter@21936 4 VERSION="3.2.0"
al@18177 5 CATEGORY="x-window"
Hans-G?nter@21936 6 TAGS="tile window-manager"
Hans-G?nter@21936 7 SHORT_DESC="Small dynamic tiling window manager for X11."
al@18177 8 MAINTAINER="al.bobylev@gmail.com"
al@18177 9 LICENSE="ISC MIT"
pascal@20679 10 WEB_SITE="https://github.com/conformal/spectrwm"
Hans-G?nter@21936 11
Hans-G?nter@21936 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21936 13 WGET_URL="$WEB_SITE/archive/SPECTRWM_${VERSION//./_}.tar.gz"
al@18177 14
al@18177 15 DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft"
Hans-G?nter@21936 16 BUILD_DEPENDS="cacerts xorg-libX11-dev xorg-libXrandr-dev \
Hans-G?nter@21936 17 xorg-libXcursor-dev xorg-libXft-dev xcb-util-dev xcb-util-wm-dev \
Hans-G?nter@21936 18 xcb-util-keysyms-dev xorg-libXt-dev"
Hans-G?nter@21936 19
Hans-G?nter@21936 20 CONFIG_FILES="/etc/spectrwm.conf"
al@18177 21
al@18177 22 # Rules to configure and make the package.
al@18177 23 compile_rules()
al@18177 24 {
al@18177 25 cd linux
Hans-G?nter@21936 26 make PREFIX=/usr &&
Hans-G?nter@21936 27 make install PREFIX=/usr DESTDIR=$install
al@18177 28 }
al@18177 29
al@18177 30 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18177 31 genpkg_rules()
al@18177 32 {
al@18177 33 cp -a $install/* $fs
al@18177 34 mkdir -p $fs/etc
Hans-G?nter@21936 35
al@18177 36 # copy conf files (few more exists in $src)
al@18177 37 cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc
Hans-G?nter@21936 38
al@18177 39 # "switch on" keyboard mapping
al@18177 40 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \
al@18177 41 $fs/etc/spectrwm.conf
al@18177 42 }