George Hu pushed to branch main at Arch Linux / Packaging / Packages / gost
Commits:
0dd3289d by George Hu at 2026-01-16T22:44:50+08:00
Download Go modules in `prepare()` function
- - - - -
1 changed file:
- PKGBUILD
Changes:
=====================================
PKGBUILD
=====================================
@@ -12,6 +12,12 @@ makedepends=('go' 'git')
source=("git+https://github.com/go-gost/gost.git#tag=v$pkgver")
sha512sums=('0e3826e4ef7431b87b8cf8333e474e6d3d4466c4da7b53f2dbe64f1bba2dbf156649b60910c485afbcd6e975630c1abaf0c32a10a701a1048fe8824e42947446')
+prepare() {
+ cd gost
+ export GOPATH="${srcdir}"
+ go mod download -modcacherw -x
+}
+
build() {
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gost/-/commit/0dd3289d233b0ba5eb680af1ae188d7d01c94e24
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/gost/-/commit/0dd3289d233b0ba5eb680af1ae188d7d01c94e24
You're receiving this email because of your account on gitlab.archlinux.org.