wok diff udpxy/receipt @ rev 24142

linux-aufs: git checkout problem ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 15 08:46:59 2021 +0000 (2021-11-15)
parents b27ecf21e67c
children ac8ca9758df1
line diff
     1.1 --- a/udpxy/receipt	Wed Apr 29 06:28:29 2020 +0100
     1.2 +++ b/udpxy/receipt	Mon Nov 15 08:46:59 2021 +0000
     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  {