wok diff tazpkg/receipt @ rev 24983

Up xcursor-comix (0.9.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 08 16:45:21 2022 +0000 (2022-05-08)
parents b57d2cbc7c42
children 50a8a74fbda3
line diff
     1.1 --- a/tazpkg/receipt	Fri Sep 18 15:48:56 2020 +0000
     1.2 +++ b/tazpkg/receipt	Sun May 08 16:45:21 2022 +0000
     1.3 @@ -21,6 +21,13 @@
     1.4  	arm)  BUILD_DEPENDS="" ;;
     1.5  esac
     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  #
    1.16  # TazPkg is SliTaz packages manager. On an other GNU/Linux install