void-packages/srcpkgs/j/update

7 lines
205 B
Text
Raw Normal View History

2019-12-17 09:42:24 +00:00
site='https://github.com/jsoftware/jsource/releases'
_vmaj=${version%.*}
_vmin=${version#${_vmaj}}
_vmin=${_vmin#.}
version="${_vmaj}-release${_vmin:+-}${_vmin}"
pattern='tag/j\K[\d]+-release(-.*)?(?=">)'