wok-6.x diff ruby-ncurses/receipt @ rev 24956
updated nano and nano-doc (4.8 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 16:35:24 2022 +0100 (2022-04-23) |
parents | 8e65b867668e |
children | 3258d19b6f6c |
line diff
1.1 --- a/ruby-ncurses/receipt Sun Nov 10 16:17:01 2019 +0100 1.2 +++ b/ruby-ncurses/receipt Sat Apr 23 16:35:24 2022 +0100 1.3 @@ -15,6 +15,12 @@ 1.4 WEB_SITE="http://pkgs.fedoraproject.org/repo/pkgs/ruby-ncurses/" 1.5 WGET_URL="${WEB_SITE}$TARBALL/63fd3d09a51cdd745e1ed37f85621ea2/$TARBALL" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $WEB_SITE 2>/dev/null | \ 1.10 + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {