wok-next view alarm-clock/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents b156aee559a7
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alarm-clock"
4 VERSION="1.4.3"
5 CATEGORY="utilities"
6 SHORT_DESC="Simple GTK alarm clock"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 # There's no more website for it. Using wayback machine...
10 WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
14 WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
16 BUILD_DEPENDS="gtk2-dev libunique-dev libnotify-dev gstreamer0-dev intltool"
18 compile_rules() {
19 sed -i 's/.*= notify_notification_new_with_status_icon/#define notify_notification_new_with_status_icon(a,b,c,d) notify_notification_new(a,b,gtk_status_icon_get_icon_name(c))\n&/' \
20 src/alarm_runner.c
21 chmod +x install-sh
23 ./configure &&
24 fix libtool &&
25 make &&
26 make install
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="gdk-pixbuf glib gstreamer0 gtk2 libnotify libunique"
32 TAGS="clock reminder"
33 }