wok diff udpxy/receipt @ rev 24270

updated perl-xml-writer (0.625 -> 0.900)
author Hans-G?nter Theisgen
date Sun Jan 02 10:39:58 2022 +0100 (2022-01-02)
parents b27ecf21e67c
children ac8ca9758df1
line diff
     1.1 --- a/udpxy/receipt	Wed Apr 29 06:28:29 2020 +0100
     1.2 +++ b/udpxy/receipt	Sun Jan 02 10:39:58 2022 +0100
     1.3 @@ -11,6 +11,12 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="https://github.com/pcherenkov/$PACKAGE/archive/${VERSION%.*.*}-${VERSION#*.*.}.tar.gz"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.10 +	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;s|-|.|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {