wok diff gnome-doc-utils/receipt @ rev 25473
created recipe for get-java8-jre
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 12 10:36:11 2022 +0100 (2022-10-12) |
parents | 86790a278e70 |
children |
line diff
1.1 --- a/gnome-doc-utils/receipt Tue Aug 07 23:03:21 2018 +0200 1.2 +++ b/gnome-doc-utils/receipt Wed Oct 12 10:36:11 2022 +0100 1.3 @@ -14,6 +14,12 @@ 1.4 BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \ 1.5 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 {