cruxports/xclock/.watch

6 lines
158 B
Bash
Executable File

#!/bin/sh
curl -s ftp://ftp.x.org/pub/individual/app/ \
| awk '/xclock-.*\.tar\.xz$/ {$0=gensub(/.*xclock-(.+)\.tar\.xz$/,"\\1",1); print;}' \
| tail -n 1