wok view spectrwm/receipt @ rev 25317
updated soundtouch and soundtouch-dev (2.1.2 -> 2.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 21 07:14:01 2022 +0100 (2022-07-21) |
parents | d60b622059e2 |
children | 64410514fac1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="spectrwm"
4 VERSION="3.3.0"
5 CATEGORY="x-window"
6 TAGS="tile window-manager"
7 SHORT_DESC="Small dynamic tiling window manager for X11."
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="ISC MIT"
10 WEB_SITE="https://github.com/conformal/spectrwm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/SPECTRWM_${VERSION//./_}.tar.gz"
15 DEPENDS="xcb-util xcb-util-keysyms xcb-util-wm xorg-libXcursor xorg-libXft"
16 BUILD_DEPENDS="cacerts xcb-util-dev xcb-util-keysyms-dev xcb-util-wm-dev
17 xorg-libX11-dev xorg-libXcursor-dev xorg-libXft-dev
18 xorg-libXrandr-dev xorg-libXt-dev"
20 CONFIG_FILES="/etc/spectrwm.conf"
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/SPECTRWM_\(.*\).tar.*|\1|;s|_|.|g;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 cd linux
32 make PREFIX=/usr &&
33 make install PREFIX=/usr DESTDIR=$install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/etc
41 cp -a $install/* $fs
43 # copy configuration files (few more exist in $src)
44 cp $src/spectrwm.conf $fs/etc
45 cp $src/spectrwm_us.conf $fs/etc
47 # "switch on" keyboard mapping
48 sed -i 's|# keyboard_mapping.*|keyboard_mapping = /etc/spectrwm_us.conf|' \
49 $fs/etc/spectrwm.conf
50 }