wok diff imap-upload/receipt @ rev 25052

ruby-ncurses: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 05 11:43:47 2022 +0000 (2022-06-05)
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	Sun Jun 05 11:43:47 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  {