dev-util/vfox: update SRC_URI
Signed-off-by: jinqiang zhang <peeweep@0x0.ee>
This commit is contained in:
1 parent
bd515081a8
commit
c7cd41b3e1
2 files changed
+7
-5
No files matched your search
@@ -1,2 +1,2 @@
|
||||
DIST vfox-0.6.10-vendor.tar.xz 2014444 BLAKE2B 2e67dc603faf02ebb195cbd162f68d83aba15c6a5c99b3c6a9938e8606d13e370c03179ec2fc439d96ce3353244cc0d18ed8bf7d09ec2877d0bf67075056438d SHA512 0c8c5cdb78117b6d314e4760c93ddf68ea73d220707ca6e12367be4d531d6423fd06f619c864e6158c8067d6f31e810801d307dd7b52f45adeabb48840024956
|
||||
DIST vfox-0.6.10-vendor.golang-dist-mirror-action.tar.xz 1962656 BLAKE2B ff2cbe3f97e0c8fef6a219384971626a1907ea21f6bcb038621ebaff24dea0ae128baa44f51cd3f9cfa42e545e049c172747d5f8c04b54c4fdd836d0efc63e4c SHA512 43a0256b7da175c9414213e75867a3f431a0eda4dbe882f47acda00a780e1be11875b7ef87a17a983251ecccb2552bb99f17178ac087b71780b742499dd82779
|
||||
DIST vfox-0.6.10.tar.gz 3280427 BLAKE2B 7de45dca4e9cc045c73e1d3577a5ff4fa0c4a3acb8739b573a55ba7f8631788667d395728ec120857d5d6c5e73bac25af65a50332f9ddd48eb0aaea904ee3857 SHA512 38f821d4db1dd594085568de66b706d983f2664a0cbc5804176750ae96b2730d2e738df6203d678ae74d7ae0c6137b4958d4ce466108ee64b1fd16fd29c01ce0
|
||||
@@ -7,8 +7,11 @@ inherit go-module shell-completion
|
||||
|
||||
DESCRIPTION="A cross-platform version manager, extendable via plugins"
|
||||
HOMEPAGE="https://vfox.lhan.me https://github.com/version-fox/vfox"
|
||||
SRC_URI="https://github.com/version-fox/vfox/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://github.com/gentoo-zh/gentoo-deps/releases/download/${P}/${P}-vendor.tar.xz"
|
||||
SRC_URI="
|
||||
https://github.com/version-fox/vfox/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/gentoo-zh-drafts/vfox/releases/download/v${PV}/${P}-vendor.tar.xz
|
||||
-> ${P}-vendor.golang-dist-mirror-action.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
@@ -19,8 +22,7 @@ RDEPEND+=" !dev-util/vfox-bin"
|
||||
BDEPEND=">=dev-lang/go-1.21.7"
|
||||
|
||||
src_compile() {
|
||||
local ldflags="-w -s"
|
||||
ego build -o ${P} -trimpath -ldflags "${ldflags}"
|
||||
ego build -o ${P}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in new issue
Block a user