wok-current diff dwm/receipt @ rev 25174
updated python-flask (1.1.2 -> 1.1.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:16:59 2022 +0100 (2022-07-01) |
parents | bfabe25c21ff |
children |
line diff
1.1 --- a/dwm/receipt Sun Feb 13 18:01:32 2022 +0000 1.2 +++ b/dwm/receipt Fri Jul 01 17:16:59 2022 +0100 1.3 @@ -1,20 +1,22 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="dwm" 1.7 -VERSION="6.0" 1.8 +VERSION="6.3" 1.9 CATEGORY="x-window" 1.10 +TAGS="window-manager" 1.11 SHORT_DESC="Very light dynamic window manager for X." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="MIT" 1.14 +WEB_SITE="https://dwm.suckless.org/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://dwm.suckless.org/" 1.18 -WGET_URL="http://dl.suckless.org/dwm/$TARBALL" 1.19 -TAGS="window-manager" 1.20 -HOST_ARCH="i486 arm" 1.21 +WGET_URL="https://dl.suckless.org/dwm/$TARBALL" 1.22 1.23 DEPENDS="xorg-libX11 xorg-xsetroot" 1.24 -BUILD_DEPENDS="xorg-libX11-dev xorg-xproto xorg-xineramaproto \ 1.25 -xorg-libXinerama-dev" 1.26 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXinerama-dev xorg-xineramaproto 1.27 + xorg-xproto" 1.28 + 1.29 +HOST_ARCH="i486 arm" 1.30 1.31 # What is the latest version available today? 1.32 current_version() 1.33 @@ -27,14 +29,18 @@ 1.34 compile_rules() 1.35 { 1.36 # From blue to grey and have lighter grey 1.37 - sed -i s/'#0066ff'/'#222222'/g config.def.h 1.38 - sed -i s/'#cccccc'/'#f1efeb'/g config.def.h 1.39 + sed -i s/'#0066ff'/'#222222'/g config.def.h 1.40 + sed -i s/'#cccccc'/'#f1efeb'/g config.def.h 1.41 + 1.42 # 6 tag-mask 1.43 - sed -i s/', "7", "8", "9"'// config.def.h 1.44 + sed -i s/', "7", "8", "9"'// config.def.h 1.45 + 1.46 # Firefox on current tag-mask 1.47 - sed -i s/'1 << 8,'/'0, '/ config.def.h 1.48 + sed -i s/'1 << 8,'/'0, '/ config.def.h 1.49 + 1.50 # [Shift]+[Alt]+[Enter] 1.51 - sed -i s/uxterm/xterm/ config.def.h 1.52 + sed -i s/uxterm/xterm/ config.def.h 1.53 + 1.54 make CC=${HOST_SYSTEM}-gcc 1.55 } 1.56 1.57 @@ -42,16 +48,18 @@ 1.58 genpkg_rules() 1.59 { 1.60 mkdir -p $fs/usr/bin 1.61 - cp -a $src/dwm $fs/usr/bin 1.62 - cp -a $stuff/dwm-session $fs/usr/bin 1.63 - chown 0.0 $fs/usr/bin/* 1.64 + 1.65 + cp -a $src/dwm $fs/usr/bin 1.66 + cp -a $stuff/dwm-session $fs/usr/bin 1.67 + chown 0.0 $fs/usr/bin/* 1.68 } 1.69 1.70 post_install() 1.71 { 1.72 res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//) 1.73 - # Adding WM to SLIM available sessions. 1.74 - if ! echo "$res" | grep -q $PACKAGE; then 1.75 + # Adding dwm to SLIM available sessions. 1.76 + if ! echo "$res" | grep -q $PACKAGE 1.77 + then 1.78 echo 1.79 echo -n "Adding $PACKAGE to /etc/slim.conf..." 1.80 sed -i "s/^sessions.*/sessions ${res},dwm/" /etc/slim.conf 1.81 @@ -61,8 +69,9 @@ 1.82 1.83 post_remove() 1.84 { 1.85 - # Remove karmen from SLIM available sessions. 1.86 - if grep -q dwm "$1/etc/slim.conf"; then 1.87 + # Remove dwm from SLIM available sessions. 1.88 + if grep -q dwm "$1/etc/slim.conf" 1.89 + then 1.90 sed -i s/,dwm// "$1/etc/slim.conf" 1.91 fi 1.92 }