From 06e95e9db2786bf290dfabd9e2eb7c28b2b03bfc Mon Sep 17 00:00:00 2001 From: bgme Date: Tue, 15 Aug 2023 01:07:39 +0800 Subject: [PATCH] revert sing-box-git pkgver --- 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 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