wok diff task/receipt @ rev 25804

created recipe for wm-switcher
author Hans-G?nter Theisgen
date Wed Nov 13 15:16:07 2024 +0100 (8 days ago)
parents d531d97128bf
children
line diff
     1.1 --- a/task/receipt	Mon Jul 25 09:24:40 2022 +0100
     1.2 +++ b/task/receipt	Wed Nov 13 15:16:07 2024 +0100
     1.3 @@ -21,8 +21,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - ${WGET_URL%/*} 2>/dev/null | \
     1.8 -	sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
     1.9 +	wget -O - https://github.com/GothenburgBitFactory/taskwarrior/releases 2>/dev/null | \
    1.10 +	sed '/latest/d;/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.11  }
    1.12  
    1.13  # Rules to configure and make the package.