wok diff ansible/receipt @ rev 24757

pkg-config: cheat configure
author Hans-G?nter Theisgen
date Fri Mar 18 06:53:58 2022 +0100 (2022-03-18)
parents 5ea0ce1cecc0
children 4d9080704d27
line diff
     1.1 --- a/ansible/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/ansible/receipt	Fri Mar 18 06:53:58 2022 +0100
     1.3 @@ -16,10 +16,11 @@
     1.4  
     1.5  CONFIG_FILES="/etc/ansible"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10 -	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.11 -	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.12 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.13 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.14  }
    1.15  
    1.16  # Rules to configure and make the package.