# HG changeset patch # User Pascal Bellard # Date 1643892923 0 # Node ID 3105f866bc3e69854274a99e2925d589c2753961 # Parent 419071fa398681f8e2cc2851b8f42085bc95332c Add some current_version diff -r 419071fa3986 -r 3105f866bc3e aaphoto/receipt --- a/aaphoto/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/aaphoto/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -16,10 +16,15 @@ DEPENDS="jasper jpeg libpng zlib" BUILD_DEPENDS="jpeg-dev jasper-dev libpng libpng-dev zlib-dev autoconf" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | sed '/aaphoto v/!d;s|.*v||;s|<.*||' +} + # Rules to configure and make the package. compile_rules() { - cd $src ./configure --prefix=/usr && make && make DESTDIR=$DESTDIR install diff -r 419071fa3986 -r 3105f866bc3e abiword/receipt --- a/abiword/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/abiword/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -21,6 +21,16 @@ enchant-dev wv-dev libgnomecanvas-dev libcroco-dev libboost-dev librsvg-dev" SUGGESTED="abiword-plugins" +# What is the latest version available today? +current_version() +{ + wget -O - http://www.abisource.com/downloads/abiword/$( \ + wget -O - http://www.abisource.com/downloads/abiword/ 2>/dev/null | \ + sed "/latest/d;/\[DIR/!d;s|.*href=.\\([0-9\.]\\)/.*|\\1|" | sort -Vr | sed q)/source/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + +# Rules to configure and make the package. # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e actionmailer/receipt --- a/actionmailer/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/actionmailer/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -16,6 +16,12 @@ COOK_OPT="!repack_src !unpack" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e actionpack/receipt --- a/actionpack/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/actionpack/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -16,6 +16,12 @@ COOK_OPT="!repack_src !unpack" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e activerecord/receipt --- a/activerecord/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/activerecord/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -16,6 +16,12 @@ COOK_OPT="!repack_src !unpack" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e activeresource/receipt --- a/activeresource/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/activeresource/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -16,6 +16,12 @@ COOK_OPT="!repack_src !unpack" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e activesupport/receipt --- a/activesupport/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/activesupport/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -16,6 +16,12 @@ COOK_OPT="!repack_src !unpack" +# What is the latest version available today? +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | sed '/versions\//!d;s|.*versions/||;s|".*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e aescrypt/receipt --- a/aescrypt/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/aescrypt/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -12,6 +12,13 @@ DEPENDS="glibc-base" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.aescrypt.com/download/ 2>/dev/null | \ + sed '/[0-9].tgz/!d;s|.*aescrypt-||;s|.tgz.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e aespipe/receipt --- a/aespipe/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/aespipe/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -11,6 +11,14 @@ TARBALL="$PACKAGE-v$VERSION.tar.bz2" WGET_URL="${WEB_SITE}files/$PACKAGE/v$VERSION/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/loop-aes/files/aespipe/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/aespipe/v||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e aiksaurus/receipt --- a/aiksaurus/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/aiksaurus/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="gtk+ expat xorg-libXau glib" BUILD_DEPENDS="gtk+-dev patch expat-dev xorg-libXau-dev glib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/aiksaurus/files/aiksaurus/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/aiksaurus/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e ario/receipt --- a/ario/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/ario/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -17,6 +17,14 @@ libtasn1-dev libgcrypt-dev curl-dev libglade-dev taglib-dev libmpdclient-dev \ libgnutls" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/ario-player/files/ario-player/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/ario-player/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e aterm/receipt --- a/aterm/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/aterm/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="xorg-libSM xorg-libXext" BUILD_DEPENDS="xorg-libSM-dev xorg-libXext-dev xorg-libXt-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/aterm/files/aterm/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/aterm/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e barrage/receipt --- a/barrage/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/barrage/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -13,6 +13,13 @@ DEPENDS="libsdl libsdl-mixer" BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/lgames/files/barrage/ 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/barrage-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e bcrypt/receipt --- a/bcrypt/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/bcrypt/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="zlib" BUILD_DEPENDS="zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/bcrypt/files/bcrypt/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/bcrypt/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e beneath-a-steel-sky/receipt --- a/beneath-a-steel-sky/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/beneath-a-steel-sky/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -12,6 +12,13 @@ WEB_SITE="https://revolution.co.uk/games/beneath-a-steel-sky/" WGET_URL="http://downloads.sourceforge.net/scummvm/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/scummvm/files/extras/Beneath%20a%20Steel%20Sky/ 2>/dev/null | \ + sed '/scope="row/!d;/bass-cd/!d;s|.*/bass-cd-||;s|.zip.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 419071fa3986 -r 3105f866bc3e binclock/receipt --- a/binclock/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/binclock/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -14,6 +14,14 @@ # No rules to configure and make the package. +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/binclock/files/binclock/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;/tar/!d;s|.*/binclock_||;s|.tar.*||;q' +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 419071fa3986 -r 3105f866bc3e btmgr/receipt --- a/btmgr/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/btmgr/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -11,6 +11,14 @@ WGET_URL="http://$PACKAGE.sourceforge.net/${VERSION%-*}/$TARBALL" TAGS="boot loader floppy CD" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/btmgr/files/btmgr/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/btmgr/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e qjackctl/receipt --- a/qjackctl/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/qjackctl/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -18,6 +18,14 @@ jack-audio-connection-kit-dev xorg-xproto xorg-libX11-dev" TAGS="audio sound" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/qjackctl/files/qjackctl/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/qjackctl/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e radiusclient-ng/receipt --- a/radiusclient-ng/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/radiusclient-ng/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -10,6 +10,13 @@ WEB_SITE="https://sourceforge.net/projects/radiusclient-ng.berlios/" WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/radiusclient-ng.berlios/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/radiusclient-ng-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e recordmydesktop/receipt --- a/recordmydesktop/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/recordmydesktop/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -18,6 +18,14 @@ DEPENDS="libtheora alsa-lib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau \ xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes zlib" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/recordmydesktop/files/recordmydesktop/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/recordmydesktop/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e slim-pam/receipt --- a/slim-pam/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/slim-pam/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -19,6 +19,13 @@ xorg-libXmu-dev pam-dev" RELATED="slim slim-theme-default" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/slim.berlios/files/ 2>/dev/null | \ + sed '/scope="row/!d;/slim-/!d;s|.*/slim-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e smake/receipt --- a/smake/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/smake/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -14,6 +14,13 @@ DEPENDS="" BUILD_DEPENDS="" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/s-make/files/ 2>/dev/null | \ + sed '/scope="row/!d;/smake-/!d;s|.*/smake-||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e uemacs/receipt --- a/uemacs/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/uemacs/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/slackbuildsdirectlinks/files/uemacs/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*/uemacs||;s|.tar.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e uml-utilities/receipt --- a/uml-utilities/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/uml-utilities/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -15,6 +15,13 @@ DEPENDS="readline ncurses fuse" BUILD_DEPENDS="readline-dev fuse-dev" +# What is the latest version available today? +current_version() +{ + wget -O - http://user-mode-linux.sourceforge.net/downloads.html 2>/dev/null | \ + sed '/tarball/!d;s|.*ies_||;s|.tar.*||' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e unfs3/receipt --- a/unfs3/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/unfs3/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -15,6 +15,14 @@ DEPENDS="portmap" BUILD_DEPENDS="flex" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/unfs3/files/unfs3/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/unfs3/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e usbutils/receipt --- a/usbutils/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/usbutils/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -16,6 +16,13 @@ DEPENDS="glibc-base libusb libusb-compat zlib usbids" BUILD_DEPENDS="libusb-dev pkg-config zlib-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://www.kernel.org/pub/linux/utils/usb/usbutils/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e visualboyadvance/receipt --- a/visualboyadvance/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/visualboyadvance/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -16,6 +16,14 @@ BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev \ cairomm-dev libglade-dev libxml2-dev zlib-dev bison flex" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/vba/files/VisualBoyAdvance/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/VisualBoyAdvance/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e wicd/receipt --- a/wicd/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/wicd/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="python dbus-python ethtool wpa_supplicant pygtk" BUILD_DEPENDS="python-distribute python-babel python-dev dbus-python-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/wicd/files/wicd-stable/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/wicd-stable/wicd-||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e wipe/receipt --- a/wipe/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/wipe/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="glibc-base" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/wipe/files/wipe/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/wipe/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e wxdfast/receipt --- a/wxdfast/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/wxdfast/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="wxWidgets28 xorg-libXdamage xorg-libXxf86vm" BUILD_DEPENDS="wxWidgets28-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/dfast/files/wxDownload%20Fast/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/wxDownload%20Fast/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e xine-lib/receipt --- a/xine-lib/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/xine-lib/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -28,6 +28,14 @@ ARCH_ARGS="--disable-xinerama" ;; esac +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/xine/files/xine-lib/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/xine-lib/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e xine-plugin/receipt --- a/xine-plugin/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/xine-plugin/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -13,6 +13,14 @@ DEPENDS="xine-lib firefox" BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev" +# What is the latest version available today? +current_version() +{ + wget -O - https://sourceforge.net/projects/xine/files/xine-plugin/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/xine-plugin/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 419071fa3986 -r 3105f866bc3e xmlto/receipt --- a/xmlto/receipt Thu Feb 03 10:29:52 2022 +0000 +++ b/xmlto/receipt Thu Feb 03 12:55:23 2022 +0000 @@ -14,6 +14,14 @@ DEPENDS="bash libxslt perl-test-pod perl-yaml-syck" BUILD_DEPENDS="docbook-xsl flex util-linux-getopt" +# What is the latest version available today? +current_version() +{ + wget -O - https://releases.pagure.org/xmlto/ 2>/dev/null | \ + sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + +# Rules to configure and make the package. # Rules to configure and make the package. compile_rules() {