wok diff sysfsutils/receipt @ rev 24416
thunar: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 19:39:21 2022 +0000 (2022-02-10) |
parents | 8e449fe1df2e |
children | 65ff25c4de90 |
line diff
1.1 --- a/sysfsutils/receipt Wed Oct 17 10:43:04 2018 +0200 1.2 +++ b/sysfsutils/receipt Thu Feb 10 19:39:21 2022 +0000 1.3 @@ -12,6 +12,13 @@ 1.4 1.5 DEPENDS="linux" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/linux-diag/files/sysfsutils/ 2>/dev/null | \ 1.10 + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.11 + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {