# HG changeset patch # User Hans-G?nter Theisgen # Date 1570379875 -3600 # Node ID 35a3fc01466bf48eb57df62de4f1d9061ebfd364 # Parent 6542c854008f1b9879da9ca5488ee7da98b149ea updated spectrwm (2.7.2 -> 3.2.0) diff -r 6542c854008f -r 35a3fc01466b spectrwm/receipt --- a/spectrwm/receipt Sun Oct 06 18:10:58 2019 +0200 +++ b/spectrwm/receipt Sun Oct 06 17:37:55 2019 +0100 @@ -1,27 +1,30 @@ # SliTaz package receipt. PACKAGE="spectrwm" -VERSION="2.7.2" +VERSION="3.2.0" CATEGORY="x-window" -SHORT_DESC="Small dynamic tiling window manager for X11" +TAGS="tile window-manager" +SHORT_DESC="Small dynamic tiling window manager for X11." MAINTAINER="al.bobylev@gmail.com" LICENSE="ISC MIT" WEB_SITE="https://github.com/conformal/spectrwm" -TARBALL="$PACKAGE-$VERSION.tgz" -WGET_URL="https://opensource.conformal.com/snapshots/spectrwm/$TARBALL" -CONFIG_FILES="/etc/spectrwm.conf" -TAGS="tile window-manager" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$WEB_SITE/archive/SPECTRWM_${VERSION//./_}.tar.gz" DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft" -BUILD_DEPENDS="wget cacerts xorg-libX11-dev xorg-libXrandr-dev \ -xorg-libXcursor-dev xorg-libXft-dev xcb-util-dev xcb-util-wm-dev \ -xcb-util-keysyms-dev xorg-libXt-dev" +BUILD_DEPENDS="cacerts xorg-libX11-dev xorg-libXrandr-dev \ + xorg-libXcursor-dev xorg-libXft-dev xcb-util-dev xcb-util-wm-dev \ + xcb-util-keysyms-dev xorg-libXt-dev" + +CONFIG_FILES="/etc/spectrwm.conf" # Rules to configure and make the package. compile_rules() { cd linux - PREFIX=/usr make && PREFIX=/usr DESTDIR=$install make install + make PREFIX=/usr && + make install PREFIX=/usr DESTDIR=$install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -29,8 +32,10 @@ { cp -a $install/* $fs mkdir -p $fs/etc + # copy conf files (few more exists in $src) cp $src/spectrwm.conf $src/spectrwm_us.conf $fs/etc + # "switch on" keyboard mapping sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \ $fs/etc/spectrwm.conf