wok-current rev 24504

updated dwm (6.0 -> 6.3)
author Hans-G?nter Theisgen
date Sun Feb 20 11:26:24 2022 +0100 (2022-02-20)
parents 108a67969c7a
children 669f61f44760
files dwm/description.txt dwm/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dwm/description.txt	Sun Feb 20 11:26:24 2022 +0100
     1.3 @@ -0,0 +1,4 @@
     1.4 +Dwm is a dynamic window manager for X.
     1.5 +It manages windows in tiled, monocle and floating layouts.
     1.6 +All of the layouts can be applied dynamically, optimising
     1.7 +the environment for the application in use and the task performed.
     2.1 --- a/dwm/receipt	Sun Feb 20 10:36:29 2022 +0100
     2.2 +++ b/dwm/receipt	Sun Feb 20 11:26:24 2022 +0100
     2.3 @@ -1,20 +1,22 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="dwm"
     2.7 -VERSION="6.0"
     2.8 +VERSION="6.3"
     2.9  CATEGORY="x-window"
    2.10 +TAGS="window-manager"
    2.11  SHORT_DESC="Very light dynamic window manager for X."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="MIT"
    2.14 +WEB_SITE="https://dwm.suckless.org/"
    2.15 +
    2.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.17 -WEB_SITE="http://dwm.suckless.org/"
    2.18 -WGET_URL="http://dl.suckless.org/dwm/$TARBALL"
    2.19 -TAGS="window-manager"
    2.20 -HOST_ARCH="i486 arm"
    2.21 +WGET_URL="https://dl.suckless.org/dwm/$TARBALL"
    2.22  
    2.23  DEPENDS="xorg-libX11 xorg-xsetroot"
    2.24 -BUILD_DEPENDS="xorg-libX11-dev xorg-xproto xorg-xineramaproto \
    2.25 -xorg-libXinerama-dev"
    2.26 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXinerama-dev xorg-xineramaproto
    2.27 +	xorg-xproto"
    2.28 +
    2.29 +HOST_ARCH="i486 arm"
    2.30  
    2.31  # What is the latest version available today?
    2.32  current_version()
    2.33 @@ -27,14 +29,18 @@
    2.34  compile_rules()
    2.35  {
    2.36  	# From blue to grey and have lighter grey
    2.37 -	sed -i s/'#0066ff'/'#222222'/g config.def.h
    2.38 -	sed -i s/'#cccccc'/'#f1efeb'/g config.def.h
    2.39 +	sed -i s/'#0066ff'/'#222222'/g	config.def.h
    2.40 +	sed -i s/'#cccccc'/'#f1efeb'/g	config.def.h
    2.41 +
    2.42  	# 6 tag-mask
    2.43 -	sed -i s/', "7", "8", "9"'// config.def.h
    2.44 +	sed -i s/', "7", "8", "9"'//	config.def.h
    2.45 +
    2.46  	# Firefox on current tag-mask
    2.47 -	sed -i s/'1 << 8,'/'0,     '/ config.def.h
    2.48 +	sed -i s/'1 << 8,'/'0,     '/	config.def.h
    2.49 +
    2.50  	# [Shift]+[Alt]+[Enter]
    2.51 -	sed -i s/uxterm/xterm/ config.def.h
    2.52 +	sed -i s/uxterm/xterm/		config.def.h
    2.53 +
    2.54  	make CC=${HOST_SYSTEM}-gcc
    2.55  }
    2.56  
    2.57 @@ -42,16 +48,18 @@
    2.58  genpkg_rules()
    2.59  {
    2.60  	mkdir -p $fs/usr/bin
    2.61 -	cp -a $src/dwm $fs/usr/bin
    2.62 -	cp -a $stuff/dwm-session $fs/usr/bin
    2.63 -	chown 0.0 $fs/usr/bin/*
    2.64 +
    2.65 +	cp -a $src/dwm			$fs/usr/bin
    2.66 +	cp -a $stuff/dwm-session	$fs/usr/bin
    2.67 +	chown 0.0			$fs/usr/bin/*
    2.68  }
    2.69  
    2.70  post_install()
    2.71  {
    2.72  	res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//)
    2.73 -	# Adding WM to SLIM available sessions.
    2.74 -	if ! echo "$res" | grep -q $PACKAGE; then
    2.75 +	# Adding dwm to SLIM available sessions.
    2.76 +	if ! echo "$res" | grep -q $PACKAGE
    2.77 +	  then
    2.78  		echo
    2.79  		echo -n "Adding $PACKAGE to /etc/slim.conf..."
    2.80  		sed -i "s/^sessions.*/sessions            ${res},dwm/" /etc/slim.conf
    2.81 @@ -61,8 +69,9 @@
    2.82  
    2.83  post_remove()
    2.84  {
    2.85 -	# Remove karmen from SLIM available sessions.
    2.86 -	if grep -q dwm "$1/etc/slim.conf"; then
    2.87 +	# Remove dwm from SLIM available sessions.
    2.88 +	if grep -q dwm "$1/etc/slim.conf"
    2.89 +	  then
    2.90  		sed -i s/,dwm// "$1/etc/slim.conf"
    2.91  	fi
    2.92  }