mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-06 11:52:17 +00:00
5c116083f6
* update
* Update version
* update singbox version
* fix: add build-ids
---------
Co-authored-by: u <u>
Co-authored-by: madonuko <madonuko@outlook.com>
(cherry picked from commit 978c9280b5)
Co-authored-by: bunzuhbu <realkig@gmail.com>
10 lines
301 B
Bash
10 lines
301 B
Bash
export sourcedir="$PWD"
|
|
rpmdev-spectool --all --get-files nekoray.spec
|
|
version=$(rpmspec --query --queryformat "%{VERSION}\n" nekoray.spec | uniq)
|
|
|
|
tar -xzf "nekoray-${version}.tar.gz"
|
|
pushd "nekoray-${version}/core/server"
|
|
go mod vendor
|
|
tar -czf "${sourcedir}/vendor-${version}.tar.gz" vendor
|
|
popd
|