wok-6.x diff alarm-clock/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents 5ea0ce1cecc0
children
line diff
     1.1 --- a/alarm-clock/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/alarm-clock/receipt	Tue Sep 06 07:38:52 2022 +0000
     1.3 @@ -8,7 +8,7 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  LICENSE="GPL3"
     1.6  #WEB_SITE="https://web.archive.org/web/20100209072308/http://www.alarm-clock.pl/"
     1.7 -WEB_SITE="https://github.com/shaggytwodope/alarm-clock"
     1.8 +WEB_SITE="https://github.com/nick-s-b/alarm-clock"
     1.9  
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  #WGET_URL="http://www.alarm-clock.pl/files/$TARBALL"
    1.12 @@ -19,9 +19,10 @@
    1.13  BUILD_DEPENDS="$DEPENDS autoconf automake file gstreamer-1.0-dev gtk+-dev \
    1.14  	intltool libnotify-dev libtool libunique-dev"
    1.15  
    1.16 +# What is the latest version available today?
    1.17  current_version()
    1.18  {
    1.19 -	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.20 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.21  	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.22  }
    1.23