diff --git a/repo/sing-box-git/PKGBUILD b/repo/sing-box-git/PKGBUILD index 14baf68..52a861e 100644 --- a/repo/sing-box-git/PKGBUILD +++ b/repo/sing-box-git/PKGBUILD @@ -37,7 +37,7 @@ sha256sums=( pkgver() { cd "${srcdir}/${_pkgname}" - git describe --tags --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//' + git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-\([^-]*\)-\([^-]*\)$/.\1.\2/;s/-//' } _tags=with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_reality_server,with_clash_api,with_acme