wok-next annotate alarm-clock/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents f48456621a9d
children
rev   line source
al@20569 1 # SliTaz package receipt v2.
pascal@11216 2
pascal@11216 3 PACKAGE="alarm-clock"
pascal@11216 4 VERSION="1.4.3"
pascal@11216 5 CATEGORY="utilities"
pascal@11216 6 SHORT_DESC="Simple GTK alarm clock"
al@21020 7 MAINTAINER="devel@slitaz.org"
al@18541 8 LICENSE="GPL3"
al@18541 9 # There's no more website for it. Using wayback machine...
al@18541 10 WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
al@20569 11
al@20569 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@12063 13 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
pascal@14807 14 WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
pascal@11216 15
al@21017 16 BUILD_DEPENDS="gtk2-dev libunique-dev libnotify-dev gstreamer0-dev intltool"
pascal@14999 17
al@20569 18 compile_rules() {
pascal@17623 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&/' \
pascal@17622 20 src/alarm_runner.c
pascal@11216 21 chmod +x install-sh
al@20569 22
al@20569 23 ./configure &&
al@20569 24 fix libtool &&
al@20569 25 make &&
al@20569 26 make install
pascal@11216 27 }
pascal@11216 28
al@20569 29 genpkg_rules() {
al@20569 30 copy @std
al@21017 31 DEPENDS="gdk-pixbuf glib gstreamer0 gtk2 libnotify libunique"
al@20569 32 TAGS="clock reminder"
pascal@11216 33 }