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