wok-current diff ghex/receipt @ rev 25549
created recipe for lesspipe
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 03 06:53:23 2023 +0100 (19 months ago) |
parents | 1f0f29295019 |
children |
line diff
1.1 --- a/ghex/receipt Tue Mar 01 17:41:56 2022 +0100 1.2 +++ b/ghex/receipt Mon Apr 03 06:53:23 2023 +0100 1.3 @@ -20,8 +20,8 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - $WEB_SITE 2>/dev/null | \ 1.8 - sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q 1.9 + wget -O - https://gitlab.gnome.org/GNOME/ghex/-/tags 2>/dev/null | \ 1.10 + sed '/item-title/!d;/alpha/d;/beta/d;/rc/d;s|.*">||;s|<.*||;q' 1.11 } 1.12 1.13 # Rules to configure and make the package.