wok diff xget/receipt @ rev 24123

Add Arkanoid
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 06 08:15:26 2021 +0000 (2021-10-06)
parents 23c3aed67cd9
children b0069c845544
line diff
     1.1 --- a/xget/receipt	Thu Dec 05 20:23:08 2013 +0000
     1.2 +++ b/xget/receipt	Wed Oct 06 08:15:26 2021 +0000
     1.3 @@ -14,6 +14,13 @@
     1.4  DEPENDS=""
     1.5  BUILD_DEPENDS="openssl openssl-dev elfutils-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/$SOURCE/files/ 2>/dev/null | \
    1.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.11 +	sed '/files_name_h/!d;/XCPU/!d;s|.*XCPU/||;s|/.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {