wok diff slitaz-tango-icon/receipt @ rev 24085

tuxpaint: do not run kbuildsycoca4 without kde
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 14:52:46 2021 +0000 (2021-07-10)
parents 15e8d94fc34f
children 870e1ce31226
line diff
     1.1 --- a/slitaz-tango-icon/receipt	Sat Apr 20 15:26:18 2019 +0200
     1.2 +++ b/slitaz-tango-icon/receipt	Sat Jul 10 14:52:46 2021 +0000
     1.3 @@ -10,6 +10,12 @@
     1.4  WEB_SITE="http://tango-project.org/"
     1.5  WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.11 +}
    1.12 +
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15  {