wok-6.x diff attr/receipt @ rev 24320
Add xsuspend (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 25 18:01:09 2022 +0000 (2022-01-25) |
parents | a4d9cd4fcd65 |
children | 61dfb104a85c |
line diff
1.1 --- a/attr/receipt Wed Feb 06 17:47:17 2019 +0100 1.2 +++ b/attr/receipt Tue Jan 25 18:01:09 2022 +0000 1.3 @@ -20,6 +20,12 @@ 1.4 arm) BUILD_DEPENDS="" ;; 1.5 esac 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - http://download.savannah.nongnu.org/releases/attr/ 2>/dev/null | \ 1.10 + sed '/href="attr/!d;s|.*attr-\([0-9\.]*\)\..*|\1|' | sed '$!d' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {