wok-next diff remind/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | ea3c4b76ea5d |
children | 5669e8b3be70 |
line diff
1.1 --- a/remind/receipt Fri Jul 14 16:02:21 2017 +0300 1.2 +++ b/remind/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,51 +1,45 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="remind" 1.8 VERSION="03.01.15" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="Sophisticated calendar and alarm program." 1.11 +SHORT_DESC="Sophisticated calendar and alarm program" 1.12 MAINTAINER="paul@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://www.roaringpenguin.com/products/remind" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://www.roaringpenguin.com/products/remind" 1.18 WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL" 1.19 -TAGS="office calendar" 1.20 1.21 -DEPENDS="tk tcl tcllib xorg-libXScrnSaver" 1.22 - 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - cd $src 1.27 +compile_rules() { 1.28 ./configure \ 1.29 --prefix=/usr \ 1.30 --infodir=/usr/share/info \ 1.31 --mandir=/usr/share/man \ 1.32 $CONFIGURE_ARGS && 1.33 - make && make DESTDIR=$DESTDIR install 1.34 + make && 1.35 + make DESTDIR=$install install 1.36 } 1.37 1.38 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.39 -genpkg_rules() 1.40 -{ 1.41 +genpkg_rules() { 1.42 mkdir -p $fs/usr $fs/etc/skel 1.43 touch $fs/etc/skel/.reminders 1.44 cp -a $install/usr/bin $fs/usr 1.45 + DEPENDS="tk tcl tcllib xorg-libXScrnSaver" 1.46 + TAGS="office calendar" 1.47 } 1.48 1.49 -post_install() 1.50 -{ 1.51 +post_install() { 1.52 # Check for ~/.reminders file - needed for wyrd 1.53 - for i in $(ls "$1/home" 2> /dev/null); do 1.54 + for i in $(ls "$1/home" 2>/dev/null); do 1.55 [ -f "$1/home/$i/.reminders" ] && continue 1.56 - echo -n "Creating config file for $i ..." 1.57 - touch "$1/home/$i/.reminders" 1.58 + action "Creating config file for $i..." 1.59 + touch "$1/home/$i/.reminders" 1.60 chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders" 1.61 status 1.62 done 1.63 } 1.64 1.65 -post_remove() 1.66 -{ 1.67 +post_remove() { 1.68 rm -f "$1"/home/*/.reminders 1.69 }