changeset 5142:c0cee43984d7

* src/pstoedit.mk: add update rule
author John Donoghue
date Fri, 09 Aug 2019 11:33:31 -0400
parents 2616f5722afe
children 3f85d4f7f7a0
files src/pstoedit.mk
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/pstoedit.mk	Fri Aug 09 11:26:57 2019 -0400
+++ b/src/pstoedit.mk	Fri Aug 09 11:33:31 2019 -0400
@@ -11,8 +11,9 @@
 $(PKG)_DEPS     := plotutils
 
 define $(PKG)_UPDATE
-    echo 'Warning: Updates are temporarily disabled for package pstoedit.' >&2;
-    echo $(pstoedit_VERSION)
+    $(WGET) -q -O- 'http://sourceforge.net/projects/$(PKG)/files/$(PKG)/' | \
+    $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \
+    head -1
 endef
 
 define $(PKG)_BUILD