wok-next annotate remind/receipt @ rev 21475

updated abcde (2.9.2 -> 2.9.3)
author Hans-G?nter Theisgen
date Thu Jun 18 09:35:28 2020 +0100 (2020-06-18)
parents d5aab818505e
children
rev   line source
al@21020 1 # SliTaz package receipt v2.
paul@3688 2
paul@3688 3 PACKAGE="remind"
paul@19225 4 VERSION="03.01.15"
paul@3688 5 CATEGORY="utilities"
al@21020 6 SHORT_DESC="Sophisticated calendar and alarm program"
paul@3688 7 MAINTAINER="paul@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://www.roaringpenguin.com/products/remind"
al@21020 10
paul@3688 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@3688 12 WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL"
paul@3688 13
al@21020 14 compile_rules() {
paul@3688 15 ./configure \
paul@3688 16 --prefix=/usr \
paul@3688 17 --infodir=/usr/share/info \
paul@3688 18 --mandir=/usr/share/man \
paul@3688 19 $CONFIGURE_ARGS &&
al@21020 20 make &&
al@21020 21 make DESTDIR=$install install
paul@3688 22 }
paul@3688 23
al@21020 24 genpkg_rules() {
pascal@17085 25 mkdir -p $fs/usr $fs/etc/skel
pascal@17085 26 touch $fs/etc/skel/.reminders
pascal@15108 27 cp -a $install/usr/bin $fs/usr
al@21078 28 DEPENDS="tk tcl tcllib libxscrnsaver"
al@21020 29 TAGS="office calendar"
paul@3688 30 }
paul@3688 31
al@21020 32 post_install() {
paul@7827 33 # Check for ~/.reminders file - needed for wyrd
al@21020 34 for i in $(ls "$1/home" 2>/dev/null); do
pascal@18730 35 [ -f "$1/home/$i/.reminders" ] && continue
al@21020 36 action "Creating config file for $i..."
al@21020 37 touch "$1/home/$i/.reminders"
pascal@18730 38 chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders"
paul@7827 39 status
pascal@17080 40 done
paul@7827 41 }
paul@7827 42
al@21020 43 post_remove() {
pascal@18730 44 rm -f "$1"/home/*/.reminders
pascal@17080 45 }