wok diff leafpad/receipt @ rev 25808
created recipe for xmenu
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 19 16:09:37 2024 +0100 (5 days ago) |
parents | f68aece3ada3 |
children |
line diff
1.1 --- a/leafpad/receipt Fri May 13 03:36:37 2016 +0300 1.2 +++ b/leafpad/receipt Thu Dec 19 16:09:37 2024 +0100 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 {