summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-10-05 14:39:59 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-10-05 14:39:59 (GMT)
commit453d893e0fc193a75ace876e1b870062b0e7b138 (patch)
tree3839f6a514b32ad2b9c9dfa65e9fc4a281bdda2d /src
parent37397485d7ba256697b46ca86a784526f0e574a9 (diff)
downloadmxe-453d893e0fc193a75ace876e1b870062b0e7b138.zip
mxe-453d893e0fc193a75ace876e1b870062b0e7b138.tar.gz
mxe-453d893e0fc193a75ace876e1b870062b0e7b138.tar.bz2
simplified update code of package gtksourceview
Diffstat (limited to 'src')
-rw-r--r--src/gtksourceview.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gtksourceview.mk b/src/gtksourceview.mk
index 184aafb..ae83eff 100644
--- a/src/gtksourceview.mk
+++ b/src/gtksourceview.mk
@@ -14,8 +14,7 @@ $(PKG)_DEPS := gcc gtk libxml2
define $(PKG)_UPDATE
wget -q -O- 'http://git.gnome.org/browse/gtksourceview/refs/tags' | \
- grep '<a href=' | \
- $(SED) -n "s,.*<a href='[^']*/tag/?id=GTKSOURCEVIEW_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
+ $(SED) -n 's,.*>GTKSOURCEVIEW_\([0-9]\+_[0-9]*[02468]_[^<]*\)<.*,\1,p' | \
$(SED) 's,_,.,g' | \
grep -v '^2\.9' | \
head -1