From 5aa8b84dd6e5f8d20af1873fe65b6da5d66b255c Mon Sep 17 00:00:00 2001 From: bgme Date: Fri, 18 Aug 2023 22:59:45 +0800 Subject: [PATCH] Revert "revert sing-box-git pkgver" This reverts commit 06e95e9db2786bf290dfabd9e2eb7c28b2b03bfc. --- repo/sing-box-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repo/sing-box-git/PKGBUILD b/repo/sing-box-git/PKGBUILD index 6f48325..5f1fe96 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 '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