wok diff ninvaders/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 7dd01dedad38
children
line diff
     1.1 --- a/ninvaders/receipt	Wed Sep 28 08:10:35 2022 +0000
     1.2 +++ b/ninvaders/receipt	Wed Oct 23 16:19:52 2024 +0100
     1.3 @@ -18,9 +18,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://sourceforge.net/projects/ninvaders/files/ninvaders/ 2>/dev/null | \
     1.8 -	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
     1.9 -	sed '/scope="row/!d;s|.*/ninvaders/||;s|/.*||;q'
    1.10 +	wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    1.11 +	sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
    1.12  }
    1.13  
    1.14  # Rules to configure and make the package.