Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
xiarenfan committed Jul 2, 2023
1 parent 84ae74d commit 30c9f79
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 13 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
请先克隆 `xbps_src`

```
$ git clone https://github.com/void-linux/void-packages.git
$ git clone https://github.com/void-linux/void-packages.git --depth 1
```

如果网络不好可以使用:
Expand All @@ -43,6 +43,7 @@ $ git clone https://github.com/voidlinux-zh-association/void-packages-zh
```
$ cp -a void-packages-zh/srcpkg/软件包名 void-packages/srcpkgs/
$ cd void-packages
$ ./xbps-src binary-bootstrap
$ ./xbps_src pkg 软件包名
```

Expand All @@ -55,5 +56,5 @@ $ xi 软件包名 #确保是在 void-packages 目录中
# 其他资源
- [voidxanmod Kernel](https://notabug.org/Marcoapc/voidxanmodK)
- [librewolf-voidlinux](https://github.com/index-0/librewolf-voidlinux)
- [hyprland-void](https://github.com/kruceter/hyprland-void)
- [hyprland-void](https://github.com/Fadest/hyprland-void)
- [cde-for-linux-void](https://github.com/johna23-lab/cde-for-linux-void)
4 changes: 4 additions & 0 deletions srcpkg/clash-meta/files/clash-meta/finish
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/sh
#finish script

setcap -r /usr/bin/clash-meta
6 changes: 3 additions & 3 deletions srcpkg/clash-meta/files/clash-meta/run
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh

exec 2>&1

exec clash-meta
sv check NetworkManager >/dev/null || exit 1
setcap cap_net_bind_service,cap_net_admin+ep /usr/bin/clash
exec clash-meta 2>&1
4 changes: 2 additions & 2 deletions srcpkg/clash-meta/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'clash-meta'
pkgname=clash-meta
version=1.14.3
version=1.15.0
revision=1
build_style=go
go_ldflags="linkmode external -extldflags \"${LDFLAGS}\" \
Expand All @@ -14,7 +14,7 @@ maintainer="xiarenfan <xiarenfan1998@onionmail.com>"
license="GPL-3.0-or-later"
homepage="https://github.com/MetaCubeX/Clash.Meta"
distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
checksum=498ac039e1b2c4cd0beb3545b9ad89302f3f21357d0a6dec965e740d4377f43d
checksum=8782da4201e29c3fd2c0d11021f6cc231a275ff0b0400d800b553d7cb191baf1

do_build() {
BUILDTIME=$(date -u)
Expand Down
4 changes: 2 additions & 2 deletions srcpkg/clash/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'clash'
pkgname=clash
version=1.14.0
version=1.17.0
revision=1
build_style=go
go_ldflags="-X github.com/Dreamacro/clash/constant.Version=${version}"
Expand All @@ -11,7 +11,7 @@ maintainer="xiarenfan <xiarenfan1998@onionmail.com>"
license="GPL-3.0-only"
homepage="https://github.com/Dreamacro/clash"
distfiles="https://github.com/Dreamacro/clash/archive/v${version}.tar.gz"
checksum=991ab58797d315d471cbafcbb665e3af4021654c88b6f916821290895956bb39
checksum="cd30a27f801652151eea129e9cb00e4a3ee28d45982dad835f4546691796d9d7"

case "$XBPS_TARGET_MACHINE" in
x86_64*)
Expand Down
4 changes: 2 additions & 2 deletions srcpkg/go-musicfox/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'go-musicfox'
pkgname=go-musicfox
version=3.7.2
version=4.1.2
revision=1
build_style=go
go_ldflags="-s -w -X go-musicfox/pkg/constants.AppVersion=v${version}"
Expand All @@ -12,7 +12,7 @@ maintainer="xiarenfan <xiarenfan1998@onionmail.com>"
license="MIT"
homepage="https://github.com/anhoder/go-musicfox"
distfiles="https://github.com/anhoder/go-musicfox/archive/refs/tags/v${version}.tar.gz"
checksum=edd3dd575716ab163be7c972e431e12cf0a9662519979184ab05a76b65211efe
checksum="910353d881dd0bbe7284752a27ed7197526b7d9bb6bd02040939b0416f9b66cc"

do_build() {
export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external"
Expand Down
4 changes: 2 additions & 2 deletions srcpkg/v2rayA/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'v2rayA'
pkgname=v2rayA
version=2.0.4
version=2.0.5
revision=1
build_wrksrc="service"
build_style="go"
Expand All @@ -13,7 +13,7 @@ maintainer="xiarenfan <xiarenfan1998@onionmail.com>"
license="AGPL-3.0-only"
homepage="https://github.com/v2rayA/v2rayA"
distfiles="https://github.com/v2rayA/v2rayA/archive/v${version}.tar.gz"
checksum="fb0c60d95cd208e3306cf9c5488f41fe7cf6697d58dc377e5e7d471e37ce9060"
checksum="a454f382bf199f939e4930c1ee260b212ad66e04fa5dcf9065bb92dd2be274fe"

pre_build() {
cd ${wrksrc}/gui
Expand Down

0 comments on commit 30c9f79

Please sign in to comment.