cruxports/deadbeef/.watch

6 lines
183 B
Bash
Executable File

#!/bin/sh
curl -s "https://deadbeef.sourceforge.io/download.html" \
| awk '/files\/travis\/linux/ {$0=gensub(/.*\/travis\/linux\/(.+)\/deadbeef.*/,"\\1",1); print;}' \
| head -n 1