wok-6.x diff leafpad/receipt @ rev 25447
Down firefox-official (77.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 16:17:24 2022 +0000 (2022-09-06) |
parents | f68aece3ada3 |
children |
line diff
1.1 --- a/leafpad/receipt Fri May 13 03:36:37 2016 +0300 1.2 +++ b/leafpad/receipt Tue Sep 06 16:17:24 2022 +0000 1.3 @@ -16,6 +16,13 @@ 1.4 DEPENDS="gtk+ xorg-libXdamage" 1.5 BUILD_DEPENDS="gtk+-dev xorg-libXrender-dev xorg-xproto" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.10 + sed '/href="'$PACKAGE'-[0-9]/!d;/tar/!d;s|.*>'$PACKAGE'-||;s|.tar.*||' | \ 1.11 + sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {