wok diff libgd/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 1a24a6d0a088
children
line diff
     1.1 --- a/libgd/receipt	Fri Mar 04 09:32:37 2022 +0100
     1.2 +++ b/libgd/receipt	Fri Sep 02 16:30:36 2022 +0000
     1.3 @@ -27,8 +27,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://bitbucket.org/libgd/gd-libgd/downloads/ 2>/dev/null | \
     1.8 -	sed '/libgd-/!d;/-rc/d;/-alpha/d;s|.*libgd-||;s|.tar.*||;q'
     1.9 +	wget -O - https://github.com/libgd/libgd/tags 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;s|.*/[a-z-]*\(.*\).tar.*|\1|;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.