wok diff gentorrent/receipt @ rev 25031

Add fatcat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 20 09:25:51 2022 +0000 (2022-05-20)
parents d941c1946d7f
children 7ae189994f37
line diff
     1.1 --- a/gentorrent/receipt	Wed Dec 12 18:05:39 2018 +0100
     1.2 +++ b/gentorrent/receipt	Fri May 20 09:25:51 2022 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  DEPENDS="py3k"
     1.5  BUILD_DEPENDS=""
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - http://git.ortolo.eu/gentorrent.git/ 2>/dev/null | \
    1.11 +	sed '/version\/[0-9]/!d;s|.*version/||;s|<.*||' | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {