wok-current view alarm-clock/receipt @ rev 24107
updated adminer (4.7.5 -> 4.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Sep 25 17:50:51 2021 +0100 (2021-09-25) |
parents | e53f2d90f7d0 |
children | 095836df71b7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="alarm-clock"
4 VERSION="1.4.9"
5 CATEGORY="utilities"
6 TAGS="clock reminder"
7 SHORT_DESC="Simple GTK alarm clock."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL3"
10 #WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
11 WEB_SITE="https://github.com/shaggytwodope/alarm-clock"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
15 #WGET_URL="http://mirror.slitaz.org/sources/packages/a/$TARBALL"
16 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
18 DEPENDS="gstreamer-1.0 gtk+ libunique libnotify"
19 BUILD_DEPENDS="$DEPENDS autoconf automake file gstreamer-1.0-dev gtk+-dev \
20 intltool libnotify-dev libtool libunique-dev"
22 current_version()
23 {
24 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
25 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 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&/' \
32 src/alarm_runner.c
33 chmod +x install-sh
35 ./autogen.sh &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/alarm-clock $fs/usr/share
47 cp -a $install/usr/share/icons $fs/usr/share
48 }