summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sdl_gfx.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdl_gfx.mk b/src/sdl_gfx.mk
index 95da895..b024f85 100644
--- a/src/sdl_gfx.mk
+++ b/src/sdl_gfx.mk
@@ -10,9 +10,9 @@ $(PKG)_URL := http://www.ferzkopp.net/Software/SDL_gfx-2.0/$($(PKG)_FILE)
$(PKG)_DEPS := gcc sdl
define $(PKG)_UPDATE
-# thanks debian/watch for the inspiration!
$(WGET) -q -O- 'http://www.ferzkopp.net/joomla/content/view/19/14/' | \
- $(SED) -n 's,.*/joomla/\.\./Software/SDL_gfx\-2\.0/SDL_gfx-\([0-9][^"]*\)\.tar.*,\1,p'
+ grep 'href.*tar\.' | \
+ $(SED) -n 's,.*SDL_gfx-\([0-9][^>]*\)\.tar.*,\1,p' | \
head -1
endef