Revert "revert sing-box-git pkgver"

This reverts commit 06e95e9db2.
This commit is contained in:
bgme 2023-08-18 22:59:45 +08:00
parent 62829e70ff
commit 5aa8b84dd6

View file

@ -37,7 +37,7 @@ sha256sums=(
pkgver() {
cd "${srcdir}/${_pkgname}"
git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-\([^-]*\)-\([^-]*\)$/.\1.\2/;s/-//'
git describe --tags --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//'
}
_tags=with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_reality_server,with_clash_api,with_acme