wok diff tmux-mem-cpu-load/receipt @ rev 25371

updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author Hans-G?nter Theisgen
date Fri Jul 29 14:34:07 2022 +0100 (2022-07-29)
parents 5ea0ce1cecc0
children 0262035dc1e7
line diff
     1.1 --- a/tmux-mem-cpu-load/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/tmux-mem-cpu-load/receipt	Fri Jul 29 14:34:07 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tmux-mem-cpu-load"
     1.7 -VERSION="3.4.0"
     1.8 +VERSION="3.6.0"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="CPU, RAM, and load monitor for use with tmux."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12 @@ -23,7 +23,10 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cmake . -DCMAKE_INSTALL_PREFIX=/usr
    1.17 +	mkdir	_build &&
    1.18 +	cd	_build &&
    1.19 +	cmake	..				\
    1.20 +		-D CMAKE_INSTALL_PREFIX=/usr &&
    1.21  	make &&
    1.22  	make install
    1.23  }
    1.24 @@ -34,7 +37,7 @@
    1.25  	mkdir -p $fs/usr
    1.26  	mkdir -p $fs/etc/skel
    1.27  
    1.28 -	cp -a $install/usr/bin $fs/usr
    1.29 +	cp -a $install/usr/bin	$fs/usr
    1.30  	cat >> $fs/etc/skel/.tmux.conf << EOT
    1.31  # tmux-mem-cpu-load
    1.32  set -g status-interval 2
    1.33 @@ -46,9 +49,10 @@
    1.34  {
    1.35  	for i in $(ls "$1/home" 2> /dev/null)
    1.36  	  do
    1.37 -		grep -qs "tmux-mem-cpu-load" "$1/home/$i/.tmux.conf" && continue
    1.38 +		grep -qs "tmux-mem-cpu-load"	"$1/home/$i/.tmux.conf" &&
    1.39 +		continue
    1.40  		echo -n "Checking for .tmux.conf for $i ..."
    1.41 -		cp -a "$1/etc/skel/.tmux.conf" "$1/home/$i/"
    1.42 +		cp -a "$1/etc/skel/.tmux.conf"	"$1/home/$i/"
    1.43  		chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.tmux.conf"
    1.44  		status
    1.45  	  done