wok diff remind/receipt @ rev 23680

qemu: partial cloop v4 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 26 15:17:58 2020 +0000 (2020-04-26)
parents 970c5ec9a60a
children 83b97236db32
line diff
     1.1 --- a/remind/receipt	Sun May 20 13:28:18 2018 +0200
     1.2 +++ b/remind/receipt	Sun Apr 26 15:17:58 2020 +0000
     1.3 @@ -1,34 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="remind"
     1.7 -VERSION="03.01.15"
     1.8 +VERSION="03.01.16"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="Sophisticated calendar and alarm program."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://dianne.skoll.ca/projects/remind/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.roaringpenguin.com/products/remind"
    1.17 -WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}download/$TARBALL"
    1.19  TAGS="office calendar"
    1.20  
    1.21 -DEPENDS="tk tcl tcllib xorg-libXss"
    1.22 +DEPENDS="tcl tcllib tk xorg-libXss"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28 -	./configure \
    1.29 -		--prefix=/usr \
    1.30 -		--infodir=/usr/share/info \
    1.31 -		--mandir=/usr/share/man \
    1.32 +	./configure				\
    1.33 +		--prefix=/usr			\
    1.34 +		--infodir=/usr/share/info	\
    1.35 +		--mandir=/usr/share/man		\
    1.36  		$CONFIGURE_ARGS &&
    1.37 -	make && make DESTDIR=$DESTDIR install
    1.38 +	make &&
    1.39 +	make DESTDIR=$DESTDIR install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr $fs/etc/skel
    1.46 +	mkdir -p $fs/usr
    1.47 +	mkdir -p $fs/etc/skel
    1.48 +
    1.49  	touch $fs/etc/skel/.reminders
    1.50  	cp -a $install/usr/bin $fs/usr
    1.51  }
    1.52 @@ -37,13 +40,14 @@
    1.53  {
    1.54  	# Check for ~/.reminders file - needed for wyrd
    1.55  	nl="\\n"
    1.56 -	for i in $(ls "$1/home" 2> /dev/null); do
    1.57 +	for i in $(ls "$1/home" 2> /dev/null)
    1.58 +	  do
    1.59  		[ -f "$1/home/$i/.reminders" ] && continue
    1.60  		echo -en "${nl}Creating config file for $i ..."
    1.61  		touch "$1/home/$i/.reminders" 
    1.62  		chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders"
    1.63  		status
    1.64 -	done
    1.65 +	  done
    1.66  }
    1.67  
    1.68  post_remove()