aboutsummaryrefslogtreecommitdiff
path: root/repo/sing-box-beta-bin
diff options
context:
space:
mode:
authorKunoiSayami <[email protected]>2026-06-11 21:25:40 +0800
committerKunoiSayami <[email protected]>2026-06-11 21:26:00 +0800
commit3ec428be1eca4a6d3831a240f2cc5e4e8bc14436 (patch)
treeb89bc98e5d55d83900c429e75201ba9ca758e53e /repo/sing-box-beta-bin
parentd93c0a65587e384a97fe78a733ff94cc44ab4659 (diff)
feat(ci): Add auto fetch version script
* feat(pkg): Add sing-box-beta-bin Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'repo/sing-box-beta-bin')
-rw-r--r--repo/sing-box-beta-bin/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/sing-box-beta-bin/PKGBUILD b/repo/sing-box-beta-bin/PKGBUILD
new file mode 100644
index 0000000..25f49af
--- /dev/null
+++ b/repo/sing-box-beta-bin/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Mike Lei <[email protected]>
+# Contributor: adityaphra <[email protected]>
+# source: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=sing-box-beta-bin
+
+pkgname="sing-box-beta-bin"
+_pkgver="1.14.0-alpha.29"
+pkgver="${_pkgver/-/\~}"
+pkgrel="1"
+pkgdesc="The universal proxy platform (beta binary version)."
+provides=("sing-box")
+conflicts=("sing-box" "sing-box-bin" "sing-box-beta" "sing-box-git")
+arch=("x86_64" "armv7h" "aarch64")
+url="https://sing-box.sagernet.org/"
+_git_url="https://github.com/SagerNet/sing-box"
+license=("GPL-3.0-or-later")
+backup=("etc/sing-box/config.json")
+source_x86_64=("sing-box_${_pkgver}_linux_x86_64.pkg.tar.zst::$_git_url/releases/download/v$_pkgver/sing-box_${_pkgver}_linux_x86_64.pkg.tar.zst")
+source_armv7h=("sing-box_${_pkgver}_linux_armv7h.pkg.tar.zst::$_git_url/releases/download/v$_pkgver/sing-box_${_pkgver}_linux_armv7hl.pkg.tar.zst")
+source_aarch64=("sing-box_${_pkgver}_linux_aarch64.pkg.tar.zst::$_git_url/releases/download/v$_pkgver/sing-box_${_pkgver}_linux_aarch64.pkg.tar.zst")
+sha256sums_x86_64=("8a8b14e5d8c08e555dadb25f8e7b209716c10873c4bbb44c85a29e93660a068e")
+sha256sums_armv7h=("fb5d8dbf80484d540eee5501a1e9893b3a32e49d87e670a37ae2818272d87f8b")
+sha256sums_aarch64=("6ce4c93e8db0189225439f0efc782c7b57e7720b069ca8c19cf51b73b2056160")
+noextract=("${source_x86_64[@]%%::*}" "${source_armv7h[@]%%::*}" "${source_aarch64[@]%%::*}")
+
+package() {
+ bsdtar -C $pkgdir --exclude '.*' --zstd -xf "sing-box_${_pkgver}_linux_$CARCH.pkg.tar.zst"
+} \ No newline at end of file