wok diff grub2-efi/receipt @ rev 24554

updated flac and flac-dev again (1.3.3 -> 1.3.4)
author Hans-G?nter Theisgen
date Fri Feb 25 11:25:23 2022 +0100 (2022-02-25)
parents 68cf96abc146
children 72f2704d3ae0
line diff
     1.1 --- a/grub2-efi/receipt	Mon Jul 05 15:00:07 2021 +0000
     1.2 +++ b/grub2-efi/receipt	Fri Feb 25 11:25:23 2022 +0100
     1.3 @@ -10,7 +10,7 @@
     1.4  
     1.5  SOURCE="grub"
     1.6  TARBALL="$SOURCE-$VERSION.tar.xz"
     1.7 -WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL"
     1.8 +WGET_URL="http://ftp.gnu.org/gnu/grub/$TARBALL"
     1.9  
    1.10  DEPENDS="freetype grep libdevmapper libusb-compat libusb ncurses zlib"
    1.11  BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev 
    1.12 @@ -18,6 +18,13 @@
    1.13  
    1.14  CONFIG_FILES="/etc/default/grub /etc/grub.d/40_custom"
    1.15  
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.20 +	sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
    1.21 +}
    1.22 +
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {