wok diff popt/receipt @ rev 24600
updated ghostscript and ghostscript-dev again (9.02 -> 9.55.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 02 07:43:51 2022 +0100 (2022-03-02) |
parents | a78610b2eb47 |
children | 8dad5987f564 |
line diff
1.1 --- a/popt/receipt Mon Jan 21 12:26:11 2019 +0100 1.2 +++ b/popt/receipt Wed Mar 02 07:43:51 2022 +0100 1.3 @@ -11,6 +11,12 @@ 1.4 WGET_URL="http://rpm5.org/files/popt/$TARBALL" 1.5 HOST_ARCH="i486 arm" 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 {