wok diff goffice/receipt @ rev 24133

Up tazinst (115)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 15:17:56 2021 +0000 (2021-10-23)
parents 021c9e62f9d7
children eec3edc6ef52
line diff
     1.1 --- a/goffice/receipt	Fri Feb 21 16:43:33 2020 +0100
     1.2 +++ b/goffice/receipt	Sat Oct 23 15:17:56 2021 +0000
     1.3 @@ -21,6 +21,12 @@
     1.4  BUILD_DEPENDS="cairo-dev gtk-doc gtk+3-dev libcroco-dev libgsf-dev 
     1.5  	librsvg-dev libxslt-dev perl-io-compress"
     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  {