fix sing-box-git

fix sing-geosite
This commit is contained in:
bgme 2023-08-15 00:04:04 +08:00
parent 5b006a759c
commit 301001f4ef
3 changed files with 5 additions and 2 deletions

View file

@ -37,7 +37,7 @@ sha256sums=(
pkgver() { pkgver() {
cd "${srcdir}/${_pkgname}" 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 _tags=with_gvisor,with_quic,with_dhcp,with_wireguard,with_utls,with_reality_server,with_clash_api,with_acme

View file

@ -19,7 +19,7 @@ build() {
export NO_SKIP=true export NO_SKIP=true
cd "${srcdir}/${pkgname}" cd "${srcdir}/${pkgname}"
go run -v . go1.19 run -v .
} }
package() { package() {

View file

@ -2,6 +2,9 @@ maintainers:
- github: yingziwu - github: yingziwu
email: i@bgme.me email: i@bgme.me
repo_depends:
- go1.19
build_prefix: extra-x86_64 build_prefix: extra-x86_64
pre_build: vcs_update pre_build: vcs_update