Files
ports/main/appstream-glib/update
2021-05-12 08:11:10 +08:00

7 lines
139 B
Plaintext

port_getver() {
fetch \
| grep archive \
| grep -Eo appstream_glib_[0-9_]+.tar.gz \
| sed 's/appstream_glib_//;s/\.tar.*//;s/_/\./g'
}