wok annotate remind/receipt @ rev 23719
updated unionfs-fuse (2.0 -> 2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 29 07:50:26 2020 +0100 (2020-04-29) |
parents | 970c5ec9a60a |
children | 83b97236db32 |
rev | line source |
---|---|
paul@3688 | 1 # SliTaz package receipt. |
paul@3688 | 2 |
paul@3688 | 3 PACKAGE="remind" |
Hans-G?nter@21840 | 4 VERSION="03.01.16" |
paul@3688 | 5 CATEGORY="utilities" |
jozee@4972 | 6 SHORT_DESC="Sophisticated calendar and alarm program." |
paul@3688 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
Hans-G?nter@21840 | 9 WEB_SITE="https://dianne.skoll.ca/projects/remind/" |
Hans-G?nter@21840 | 10 |
paul@3688 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21840 | 12 WGET_URL="${WEB_SITE}download/$TARBALL" |
jozee@4972 | 13 TAGS="office calendar" |
paul@3688 | 14 |
Hans-G?nter@21840 | 15 DEPENDS="tcl tcllib tk xorg-libXss" |
pascal@15108 | 16 |
paul@3688 | 17 # Rules to configure and make the package. |
paul@3688 | 18 compile_rules() |
paul@3688 | 19 { |
Hans-G?nter@21840 | 20 ./configure \ |
Hans-G?nter@21840 | 21 --prefix=/usr \ |
Hans-G?nter@21840 | 22 --infodir=/usr/share/info \ |
Hans-G?nter@21840 | 23 --mandir=/usr/share/man \ |
paul@3688 | 24 $CONFIGURE_ARGS && |
Hans-G?nter@21840 | 25 make && |
Hans-G?nter@21840 | 26 make DESTDIR=$DESTDIR install |
paul@3688 | 27 } |
paul@3688 | 28 |
paul@3688 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3688 | 30 genpkg_rules() |
paul@3688 | 31 { |
Hans-G?nter@21840 | 32 mkdir -p $fs/usr |
Hans-G?nter@21840 | 33 mkdir -p $fs/etc/skel |
Hans-G?nter@21840 | 34 |
pascal@17085 | 35 touch $fs/etc/skel/.reminders |
pascal@15108 | 36 cp -a $install/usr/bin $fs/usr |
paul@3688 | 37 } |
paul@3688 | 38 |
paul@7827 | 39 post_install() |
paul@7827 | 40 { |
paul@7827 | 41 # Check for ~/.reminders file - needed for wyrd |
pascal@20319 | 42 nl="\\n" |
Hans-G?nter@21840 | 43 for i in $(ls "$1/home" 2> /dev/null) |
Hans-G?nter@21840 | 44 do |
pascal@18730 | 45 [ -f "$1/home/$i/.reminders" ] && continue |
pascal@20319 | 46 echo -en "${nl}Creating config file for $i ..." |
pascal@18730 | 47 touch "$1/home/$i/.reminders" |
pascal@18730 | 48 chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders" |
paul@7827 | 49 status |
Hans-G?nter@21840 | 50 done |
paul@7827 | 51 } |
paul@7827 | 52 |
pascal@17080 | 53 post_remove() |
pascal@17080 | 54 { |
pascal@18730 | 55 rm -f "$1"/home/*/.reminders |
pascal@17080 | 56 } |