summaryrefslogtreecommitdiffstats
path: root/src/libgsf.mk
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2019-05-13 19:52:31 (GMT)
committerMark Brand <mabrand@mabrand.nl>2019-05-14 08:04:27 (GMT)
commitb304870088558b271974c201f8b0bfaaed00a504 (patch)
treedea79a57a221b6e44060cd6578ea2f7293f45a2b /src/libgsf.mk
parent5839ef0d6b78e80fa22ad630d8de1d7d3de53248 (diff)
downloadmxe-b304870088558b271974c201f8b0bfaaed00a504.zip
mxe-b304870088558b271974c201f8b0bfaaed00a504.tar.gz
mxe-b304870088558b271974c201f8b0bfaaed00a504.tar.bz2
fix gitlab GNOME packages update macros
Diffstat (limited to 'src/libgsf.mk')
-rw-r--r--src/libgsf.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libgsf.mk b/src/libgsf.mk
index 6a9a036..292d8c3 100644
--- a/src/libgsf.mk
+++ b/src/libgsf.mk
@@ -11,10 +11,8 @@ $(PKG)_URL := https://download.gnome.org/sources/libgsf/$(call SHORT_PKG_VE
$(PKG)_DEPS := cc bzip2 glib libxml2 zlib
define $(PKG)_UPDATE
- $(WGET) -q -O- 'https://git.gnome.org/browse/libgsf/refs/tags' | \
- grep '<a href=' | \
- $(SED) -n "s,.*<a href='[^']*/tag/?h=LIBGSF_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
- $(SED) 's,_,.,g' | \
+ $(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libgsf/tags' | \
+ $(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
head -1
endef