summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gdk-pixbuf.mk2
-rw-r--r--src/glib.mk7
2 files changed, 5 insertions, 4 deletions
diff --git a/src/gdk-pixbuf.mk b/src/gdk-pixbuf.mk
index f53dab0..4eaa8ca 100644
--- a/src/gdk-pixbuf.mk
+++ b/src/gdk-pixbuf.mk
@@ -13,7 +13,7 @@ $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/$(call SHOR
$(PKG)_DEPS := gcc glib libpng jpeg tiff jasper libiconv
define $(PKG)_UPDATE
- wget -q -O- 'http://git.gnome.org/browse/gdk-pixbuf+/refs/tags' | \
+ wget -q -O- 'http://git.gnome.org/browse/gdk-pixbuf/refs/tags' | \
grep '<a href=' | \
$(SED) -n 's,.*<a[^>]*>\([0-9]*\.[0-9]*[02468]\.[^<]*\)<.*,\1,p' | \
grep -v '^2\.9' | \
diff --git a/src/glib.mk b/src/glib.mk
index 35b17a5..6ba7a75 100644
--- a/src/glib.mk
+++ b/src/glib.mk
@@ -14,9 +14,10 @@ $(PKG)_DEPS := gcc gettext pcre libiconv zlib
define $(PKG)_UPDATE
wget -q -O- 'http://git.gnome.org/browse/glib/refs/tags' | \
- grep '<a href=' | \
- $(SED) -n 's,.*<a[^>]*>glib-*\([0-9][^<]*\)<.*,\1,p' | \
- grep -v '^2\.24\.' | \
+ grep '<a href=./browse/glib/tag/[?]id=[0-9.]\+' | \
+ $(SED) 's,^.*a href=./browse/glib/tag/[?]id=\([0-9.]\+\).*,\1,' | \
+ grep "^2\.25\.1[0-9]" | \
+ sort -r | \
head -1
endef