wok-current diff qpdfview/receipt @ rev 24434
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 12 19:02:42 2022 +0000 (2022-02-12) |
parents | e03f4dac67ec |
children | 70a00c0a16d3 |
line diff
1.1 --- a/qpdfview/receipt Fri Jun 14 15:37:07 2019 +0100 1.2 +++ b/qpdfview/receipt Sat Feb 12 19:02:42 2022 +0000 1.3 @@ -17,6 +17,13 @@ 1.4 BUILD_DEPENDS="cups-dev djvulibre-dev libmagic-dev libspectre-dev \ 1.5 poppler-dev poppler-qt4 poppler-qt4-dev qmake Qt4-dev wget zlib-dev" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE 2>/dev/null | \ 1.11 + sed '/Latest version is/!d;s|.*is ||' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {