wok diff libpqxx/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (11 months ago)
parents 362a5a98467f
children
line diff
     1.1 --- a/libpqxx/receipt	Thu Oct 13 16:28:13 2022 +0000
     1.2 +++ b/libpqxx/receipt	Sun Jul 16 15:14:43 2023 +0000
     1.3 @@ -13,10 +13,11 @@
     1.4  BUILD_DEPENDS="gcc49 postgresql-dev"
     1.5  DEPENDS="pkg-config"
     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|.*/\(.*\).tar.*|\1|;q'
    1.12 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.13  }
    1.14  
    1.15  # Rules to configure and make the package.