remove libscrypt

remove mcomix
remove sing-box
update sing-box-git
This commit is contained in:
bgme 2023-11-05 11:36:52 +08:00
parent 88300c4be3
commit b4bc4e6048
7 changed files with 10 additions and 177 deletions

View file

@ -4,7 +4,7 @@
pkgname=sing-box-git
_pkgname=sing-box
pkgver=1.7.0.alpha.5.r0.gc2ce1d00
pkgrel=1
pkgrel=2
pkgdesc='The universal proxy platform (git version).'
arch=('x86_64' 'i686')
@ -65,6 +65,11 @@ build() {
-linkmode=external" \
./cmd/sing-box
mkdir completions
go run ./cmd/sing-box completion bash > completions/bash
go run ./cmd/sing-box completion fish > completions/fish
go run ./cmd/sing-box completion zsh > completions/zsh
cd release/config/
patch -p1 <"${srcdir}/0001-sing-box-service.patch"
}
@ -78,6 +83,10 @@ package() {
install -Dm644 "release/config/${_pkgname}.service" -t "${pkgdir}/usr/lib/systemd/system"
install -Dm644 "release/config/${_pkgname}@.service" -t "${pkgdir}/usr/lib/systemd/system"
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 "${srcdir}/sing-box.sysusers" "${pkgdir}/usr/lib/sysusers.d/${_pkgname}.conf"
install -Dm644 "${srcdir}/sing-box.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/${_pkgname}.conf"
}