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