wok view remind/receipt @ rev 18925
description.txt should end with 0x0A byte (Carriage Return, Enter) to not glue with the next description in descriptions.txt.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 25 15:02:38 2016 +0200 (2016-02-25) |
parents | 17c84cd0c81a |
children | 27a62ac947e8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="remind"
4 VERSION="03.01.10"
5 CATEGORY="utilities"
6 SHORT_DESC="Sophisticated calendar and alarm program."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.roaringpenguin.com/products/remind"
11 WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL"
12 TAGS="office calendar"
14 DEPENDS="tk tcl tcllib xorg-libXss"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/etc/skel
32 touch $fs/etc/skel/.reminders
33 cp -a $install/usr/bin $fs/usr
34 }
36 post_install()
37 {
38 # Check for ~/.reminders file - needed for wyrd
39 for i in $(ls "$1/home" 2> /dev/null); do
40 [ -f "$1/home/$i/.reminders" ] && continue
41 echo -n "Creating config file for $i ..."
42 touch "$1/home/$i/.reminders"
43 chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.reminders"
44 status
45 done
46 }
48 post_remove()
49 {
50 rm -f "$1"/home/*/.reminders
51 }