Files
2023-06-13 09:09:04 +08:00

10 lines
196 B
Plaintext

url=https://gitlab.com/cryptsetup/cryptsetup/-/tags
port_getver() {
fetch \
| grep archive \
| tr '_' '.' \
| grep -Eo cryptsetup-v[0-9.]+.tar.gz \
| sed 's,cryptsetup-v,,;s,\.tar\.gz,,'
}