wok diff ruby-gtk2/receipt @ rev 25624
Add opendkim
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 16:45:57 2023 +0000 (12 months ago) |
parents | 4bae0fb81a17 |
children |
line diff
1.1 --- a/ruby-gtk2/receipt Fri Jul 09 18:20:09 2021 +0000 1.2 +++ b/ruby-gtk2/receipt Wed Nov 08 16:45:57 2023 +0000 1.3 @@ -23,11 +23,12 @@ 1.4 1.5 TAGS="ruby programming gtk development" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 local PKG=ruby-gnome2 1.11 wget -O - https://sourceforge.net/projects/$PKG/files/$PKG 2>/dev/null | \ 1.12 - sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.13 + sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ 1.14 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 1.15 } 1.16