wok diff slitaz-doc/receipt @ rev 25508
Up memtest (6.10)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 10:26:56 2023 +0000 (21 months ago) |
parents | c3aef97a3cef |
children |
line diff
1.1 --- a/slitaz-doc/receipt Sun Aug 23 15:10:17 2020 +0000 1.2 +++ b/slitaz-doc/receipt Sun Feb 12 10:26:56 2023 +0000 1.3 @@ -10,6 +10,13 @@ 1.4 WEB_SITE="http://www.slitaz.org/" 1.5 WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ 1.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ 1.11 + xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' 1.12 +} 1.13 + 1.14 # Rules to gen a SliTaz package suitable for Tazpkg. 1.15 genpkg_rules() 1.16 {