diff --git a/REPO b/REPO index b53f39f..baad4a4 100644 --- a/REPO +++ b/REPO @@ -137,9 +137,9 @@ f:2d0c97f36a2d60b8db8e5b915cc13eb3:bemenu/.signature f:7e77935851fcf4a2561511e9a1817768:bemenu/Pkgfile f:a8fad073dd3f91231e8fa2b0ff81b07d:bemenu/.footprint f:4bd5070636360865228067768da977b8:lbreakouthd/README -f:4829cea8033cf908e1814c15e506a169:lbreakouthd/.signature -f:d2308d37b6d5b2a67198e90b701dbfe9:lbreakouthd/Pkgfile -f:d32be866b7f980203fc6564c947bff33:lbreakouthd/.footprint +f:a17613dcf63a33b232f085846e97839a:lbreakouthd/.signature +f:9c7c0d6fd20a8a29dbe278f0566c159c:lbreakouthd/Pkgfile +f:1627e0f9cc064b27dffe3d2f13f60acd:lbreakouthd/.footprint f:d8f351d4fb547859ae62a6aec84e2a2e:xclock/.signature f:63dd2c0915dada0d2d57d4973852e693:xclock/Pkgfile f:9e7fd2d9b0727049d7af602113e27204:xclock/.footprint @@ -159,9 +159,9 @@ f:b90d579de47886b904cb8f61c408d0e4:deadbeef/.footprint f:c76ab154b650442f15135838b695d7e5:octave/.signature f:b831b5b79847f469c6faa1492151bc4a:octave/Pkgfile f:3b474e5611c6180796af976a03f337d8:octave/.footprint -f:abab16457a738deb1b0c271132664c4c:python3-pyicu/.signature -f:c2059e94e9efd82750e110c1dfe4f9ae:python3-pyicu/Pkgfile -f:e61ffc32670214efee164aa41a3afe0c:python3-pyicu/.footprint +f:166056a463ccda0bc54f0a145057431a:python3-pyicu/.signature +f:c1dcbf06a861e89542fcf5a5f82e05d8:python3-pyicu/Pkgfile +f:ef43c58f08e497e8b8136db85563b9df:python3-pyicu/.footprint f:a6245b9017406d3b07a58b6765c710f8:zathura-ps/.signature f:7ffbefb227176f1b8d5c0a7fe6efa212:zathura-ps/Pkgfile f:dc946177c3e1057591b8951b35cefb57:zathura-ps/.footprint diff --git a/bemenu/.watch b/bemenu/.watch index eb9f1a5..733514c 100755 --- a/bemenu/.watch +++ b/bemenu/.watch @@ -1,5 +1,3 @@ #!/bin/sh -curl -s "https://github.com/Cloudef/bemenu/releases" \ - | awk '/

(.+)<.*/,"\\1",1); print;}' \ - | head -n 1 +lynx -dump "https://github.com/Cloudef/bemenu/raw/master/VERSION" diff --git a/cagebreak/.watch b/cagebreak/.watch index 7e09c0c..ed5b465 100755 --- a/cagebreak/.watch +++ b/cagebreak/.watch @@ -1,5 +1,5 @@ #!/bin/sh -curl -s "https://github.com/project-repo/cagebreak/releases" \ - | awk '/

Release (.+)<.*/,"\\1",1); print; }' \ +curl -s "https://raw.githubusercontent.com/project-repo/cagebreak/master/Changelog.md" \ + | awk '/^## Release/ { print $NF }' \ | head -n 1 diff --git a/labwc/.watch b/labwc/.watch index acf8dc3..14ac444 100755 --- a/labwc/.watch +++ b/labwc/.watch @@ -1,5 +1,4 @@ #!/bin/sh -curl -s "https://github.com/labwc/labwc/releases" \ - | awk '/

(.+)<.*/,"\\1",1); print;}' \ - | head -n 1 +curl -s "https://raw.githubusercontent.com/labwc/labwc/master/NEWS.md" \ + | awk '/^## / {print gensub(/(\[|\])/,"","g",$2)}' | head -n 1 diff --git a/prboom-plus/.watch b/prboom-plus/.watch new file mode 100755 index 0000000..a2f66a3 --- /dev/null +++ b/prboom-plus/.watch @@ -0,0 +1,5 @@ +#!/bin/sh + +curl -s "https://github.com/coelckers/prboom-plus/tags" \ + | awk '/^\s*
[0-9]+/ {print}'
+        | sed 's/.*//; s/<\/title>//;' \
+        | head -n 1
diff --git a/recode/.watch b/recode/.watch
index b221fc4..a991673 100755
--- a/recode/.watch
+++ b/recode/.watch
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-curl -s "https://github.com/rrthomas/recode/releases" \
-	| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*v(.+)<.*/,"\\1",1); print;}' \
+curl -s "https://github.com/rrthomas/recode/raw/master/NEWS" \
+	| awk '/^Version [0-9]+/ {print $2}' \
 	| head -n 1
diff --git a/wezterm/.watch b/wezterm/.watch
index 3a4b658..7909782 100755
--- a/wezterm/.watch
+++ b/wezterm/.watch
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-curl -s "https://github.com/wez/wezterm/releases" \
-	| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*>(.+)<.*/,"\\1",1); print;}' \
-	| head -n 1
+curl -s "https://github.com/wez/wezterm/tags" \
+	| awk '/a href=.\/wez\/wezterm\/releases\/tag/ { print }' \
+	| sed 's/.*a href=".*">//; s/<\/a>.*//;' | head -n 1
diff --git a/wf-recorder/.watch b/wf-recorder/.watch
index 1578818..ef37d1c 100755
--- a/wf-recorder/.watch
+++ b/wf-recorder/.watch
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-curl -s "https://github.com/ammen99/wf-recorder/releases" \
-	| awk '/<h2 class=.sr-only/ {$0=gensub(/.*wf-recorder (.+)<.*/,"\\1",1); print;}' \
+curl -s "https://github.com/ammen99/wf-recorder/tags" \
+	| awk '/bump meson.build version to / {print $NF}' \
 	| head -n 1
diff --git a/wildmidi/.watch b/wildmidi/.watch
index 49b4dc2..f88bcca 100755
--- a/wildmidi/.watch
+++ b/wildmidi/.watch
@@ -1,5 +1,4 @@
 #!/bin/sh
 
-curl -s "https://github.com/Mindwerks/wildmidi/releases" \
-	| awk '/<h2 class=.sr-only/ {$0=gensub(/<h2 .*>WildMIDI (.+)<.*/,"\\1",1); print;}' \
-	| head -n 1
+curl -s "https://raw.githubusercontent.com/Mindwerks/wildmidi/master/README.md" \
+	| awk '/^Version:/ {print $2}' # | head -n 1