wok diff gnome-js-common/receipt @ rev 25164
updated python-antlr (3.5.2 -> 3.5.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 10:50:21 2022 +0100 (23 months ago) |
parents | 86790a278e70 |
children |
line diff
1.1 --- a/gnome-js-common/receipt Tue Aug 07 23:03:21 2018 +0200 1.2 +++ b/gnome-js-common/receipt Fri Jul 01 10:50:21 2022 +0100 1.3 @@ -13,6 +13,12 @@ 1.4 DEPENDS="" 1.5 BUILD_DEPENDS="intltool" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.10 + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {