DeepChirp pushed to branch main at Arch Linux / Packaging / Packages / sing-box


Commits:
f9f79c5f by DeepChirp at 2026-09-17T11:00:10+08:00
upgpkg: 1.14.1-2: Add JSON Schema support

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = sing-box
        pkgdesc = The universal proxy platform
        pkgver = 1.14.1
-       pkgrel = 1
+       pkgrel = 2
        url = https://sing-box.sagernet.org/
        arch = x86_64
        license = GPL-3.0-or-later


=====================================
PKGBUILD
=====================================
@@ -6,7 +6,7 @@ pkgname=sing-box
 pkgver=1.14.1
 # Check the hash for `cronet-go` in `go.sum`, and visit the `go` branch of 
`SagerNet/cronet-go` to obtain the commit hash
 _cronet_commit_hash=049f2909701ca088c9569f6b303bba5376a2b2ff
-pkgrel=1
+pkgrel=2
 pkgdesc='The universal proxy platform'
 arch=('x86_64')
 url='https://sing-box.sagernet.org/'
@@ -122,6 +122,8 @@ build() {
     for _shell in bash fish zsh; do
         ./"${pkgname}" completion "${_shell}" > completions/"${_shell}"
     done
+
+    ./"${pkgname}" schema -o schema.json
 }
 
 check() {
@@ -149,4 +151,6 @@ package() {
     install -Dm644 completions/bash 
"${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
     install -Dm644 completions/fish 
"${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
     install -Dm644 completions/zsh 
"${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+
+    install -Dm644 schema.json -t "${pkgdir}/usr/share/${pkgname}"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sing-box/-/commit/f9f79c5fd50c7ef21db052948e8bf9e1b9be51a9

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/sing-box/-/commit/f9f79c5fd50c7ef21db052948e8bf9e1b9be51a9
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to