wok-6.x diff abiword/receipt @ rev 24617
updated libgphoto2 and libgphoto2-dev (2.5.24 -> 2.5.29)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 09:33:31 2022 +0100 (2022-03-07) |
parents | fb22330086d8 |
children | aba2c5ca9a66 |
line diff
1.1 --- a/abiword/receipt Sun Feb 06 16:04:43 2022 +0000 1.2 +++ b/abiword/receipt Mon Mar 07 09:33:31 2022 +0100 1.3 @@ -24,10 +24,11 @@ 1.4 # What is the latest version available today? 1.5 current_version() 1.6 { 1.7 - wget -O - http://www.abisource.com/downloads/abiword/$( \ 1.8 wget -O - http://www.abisource.com/downloads/abiword/ 2>/dev/null | \ 1.9 - sed "/latest/d;/\[DIR/!d;s|.*href=.\\([0-9\.]*\\)/.*|\\1|" | sort -Vr | sed q)/source/ 2>/dev/null | \ 1.10 + sed "/latest/d;/\[DIR/!d;s|.*href=.\\([0-9\.]*\\)/.*|http://www.abisource.com/downloads/abiword/\\1/source/|" | sort -Vr | sed q > /tmp/url$$ 1.11 + cat /tmp/url$$ | xargs wget -O - 2>/dev/null | \ 1.12 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q 1.13 + rm -f /tmp/url$$ 1.14 } 1.15 1.16 # Rules to configure and make the package.