wok diff openmotif/receipt @ rev 25251
updated python-xdg (0.26 -> 0.27)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 07:39:02 2022 +0100 (2022-07-14) |
parents | 381f759402e1 |
children | 29df00e1e19d |
line diff
1.1 --- a/openmotif/receipt Tue May 28 15:10:25 2019 +0100 1.2 +++ b/openmotif/receipt Thu Jul 14 07:39:02 2022 +0100 1.3 @@ -18,6 +18,14 @@ 1.4 xorg-libXrender-dev xorg-libXt-dev xorg-printproto xorg-xbitmaps \ 1.5 xorg-xextproto xorg-xproto" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - https://sourceforge.net/projects/motif/files/ 2>/dev/null | \ 1.11 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.12 + sed '/scope="row/!d;s|.*/Motif%20||;s|%20.*||;q' 1.13 +} 1.14 + 1.15 # Rules to configure and make the package. 1.16 compile_rules() 1.17 {