File: watch

package info (click to toggle)
grfcodec 6.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,144 kB
  • sloc: cpp: 12,575; ansic: 748; perl: 95; makefile: 10
file content (6 lines) | stat: -rw-r--r-- 329 bytes parent folder | download
1
2
3
4
5
6
version=4
# API returns JSON, so use plain to disable HTML parsing (just grep the
# JSON for urls, which is not perfect but works well enough).
opts="searchmode=plain" \
https://api.github.com/repos/OpenTTD/@PACKAGE@/releases \
https://github.com/OpenTTD/@PACKAGE@/releases/download/[^/]*/@PACKAGE@-([\.\d]+)-source@ARCHIVE_EXT@