wok diff dcfldd/receipt @ rev 25491

Up foomatic-db-nonfree (20221116)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 12:13:24 2022 +0000 (23 months ago)
parents d31cf85c8537
children fe1b5660fdd1
line diff
     1.1 --- a/dcfldd/receipt	Thu Feb 17 15:14:14 2022 +0100
     1.2 +++ b/dcfldd/receipt	Thu Nov 17 12:13:24 2022 +0000
     1.3 @@ -17,9 +17,8 @@
     1.4  # What is the latest version available today?
     1.5  current_version()
     1.6  {
     1.7 -	wget -O - https://sourceforge.net/projects/dcfldd/files/dcfldd/ 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|.*/dcfldd/||;s|/.*||;q'
    1.10 +	wget -O - https://github.com/resurrecting-open-source-projects/dcfldd/releases/ 2>/dev/null | \
    1.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.12  }
    1.13  
    1.14  # Rules to configure and make the package.