wok diff frogatto/receipt @ rev 25691

Up lynis (3.1.1), ncurses-examples (20211021)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 16 10:43:04 2024 +0000 (6 weeks ago)
parents ac8ca9758df1
children
line diff
     1.1 --- a/frogatto/receipt	Sat Jan 15 15:21:40 2022 +0000
     1.2 +++ b/frogatto/receipt	Tue Apr 16 10:43:04 2024 +0000
     1.3 @@ -20,10 +20,11 @@
     1.4  	libsdl-image-dev libsdl-mixer-dev libsdl-ttf-dev mesa-dev \
     1.5  	xorg-server-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8  current_version()
     1.9  {
    1.10  	wget -O - ${WGET_URL%/arch*}/tags 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.