wok diff shared-mime-info/receipt @ rev 25530
Up perl-io (1.51)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 09:07:28 2023 +0000 (18 months ago) |
parents | 1a9283039d38 |
children |
line diff
1.1 --- a/shared-mime-info/receipt Wed Jul 20 09:08:48 2022 +0100 1.2 +++ b/shared-mime-info/receipt Mon Feb 27 09:07:28 2023 +0000 1.3 @@ -22,10 +22,11 @@ 1.4 arm*) BUILD_DEPENDS="glib-dev libxml2-dev" ;; 1.5 esac 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 - wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' 1.12 + wget -O - 'https://gitlab.freedesktop.org/xdg/shared-mime-info/-/tags?sort=updated_desc' 2>/dev/null | \ 1.13 + sed '/shared-mime-info-[0-9]/!d;/tar/!d;s|.*shared-mime-info-||;s|.tar.*||;q' 1.14 } 1.15 1.16 # Rules to configure and make the package.