# SliTaz package receipt. PACKAGE="alarm-clock-applet" VERSION="0.3.3" CATEGORY="x-window" SHORT_DESC="Alarm Clock is a fully-featured alarm clock for panel" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL2" WEB_SITE="http://alarm-clock.pseudoberries.com/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://launchpad.net/alarm-clock/trunk/$VERSION/+download/$TARBALL" DEPENDS="GConf gstreamer libnotify libunique notification-daemon" BUILD_DEPENDS="libxml2-dev gtk+-dev gstreamer-dev GConf-dev gnome-icon-theme \ libnotify-dev libunique-dev wget" # What is the latest version available today? current_version() { wget -O - https://github.com/joh/alarm-clock/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|^\(Categories=\).*|\1Utility;Clock;|' \ data/alarm-clock-applet.desktop.in ./configure \ --disable-schemas-install \ $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }