wok-6.x diff par2/receipt @ rev 24889

grub2: sed command corrected
author Hans-G?nter Theisgen
date Sat Apr 02 17:34:21 2022 +0100 (2022-04-02)
parents b6ad3bff03b2
children
line diff
     1.1 --- a/par2/receipt	Sat Mar 28 15:42:00 2020 +0100
     1.2 +++ b/par2/receipt	Sat Apr 02 17:34:21 2022 +0100
     1.3 @@ -16,6 +16,12 @@
     1.4  DEPENDS="gcc83-lib-base"
     1.5  BUILD_DEPENDS="automake gcc83"
     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;/par2cmdline-/!d;s|.*/par2cmdline-\(.*\).tar.*|\1|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {