wok-6.x view alarm-clock-applet/receipt @ rev 25107
Up open-iscsi (2.0.873)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 17:23:49 2022 +0000 (2022-06-22) |
parents | 408c87fa22ca |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="alarm-clock-applet"
4 VERSION="0.3.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Alarm Clock is a fully-featured alarm clock for panel"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://alarm-clock.pseudoberries.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://launchpad.net/alarm-clock/trunk/$VERSION/+download/$TARBALL"
13 DEPENDS="GConf gstreamer libnotify libunique notification-daemon"
14 BUILD_DEPENDS="libxml2-dev gtk+-dev gstreamer-dev GConf-dev gnome-icon-theme \
15 libnotify-dev libunique-dev wget"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/joh/alarm-clock/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|^\(Categories=\).*|\1Utility;Clock;|' \
28 data/alarm-clock-applet.desktop.in
30 ./configure \
31 --disable-schemas-install \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }