wok-6.x diff libnotify/receipt @ rev 24213

updated perl-file-which (1.23 -> 1.27)
author Hans-G?nter Theisgen
date Fri Dec 31 16:19:09 2021 +0100 (2021-12-31)
parents 668e3b18eda4
children 083af5061d39
line diff
     1.1 --- a/libnotify/receipt	Fri Mar 04 17:37:01 2016 +0200
     1.2 +++ b/libnotify/receipt	Fri Dec 31 16:19:09 2021 +0100
     1.3 @@ -19,6 +19,12 @@
     1.4  	i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl"
     1.5  esac
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {