wok diff imap-upload/receipt @ rev 25421

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 10 07:02:08 2022 +0000 (22 months ago)
parents 36e9807432da
children 7dd01dedad38
line diff
     1.1 --- a/imap-upload/receipt	Fri Feb 07 12:29:13 2014 +0000
     1.2 +++ b/imap-upload/receipt	Wed Aug 10 07:02:08 2022 +0000
     1.3 @@ -13,6 +13,14 @@
     1.4  DEPENDS="python"
     1.5  BUILD_DEPENDS=""
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://sourceforge.net/projects/imap-upload/files/imap-upload/ 2>/dev/null | \
    1.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.12 +	sed '/scope="row/!d;s|.*/imap-upload/||;s|/.*||;q'
    1.13 +}
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {