wok diff libnotify/receipt @ rev 24408

ncurses-dev: copy pkgconfig
author Hans-G?nter Theisgen
date Wed Feb 09 14:18:05 2022 +0100 (2022-02-09)
parents 668e3b18eda4
children 083af5061d39
line diff
     1.1 --- a/libnotify/receipt	Fri Mar 04 17:37:01 2016 +0200
     1.2 +++ b/libnotify/receipt	Wed Feb 09 14:18:05 2022 +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  {