sops: Cache Golang dependencies

This commit is contained in:
Yaksh Bariya 2021-07-05 18:58:39 +05:30
parent 9448d15604
commit b5950892b5
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -13,7 +13,7 @@ termux_step_make_install() {
mkdir -p "${GOPATH}/src/go.mozilla.org"
cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/go.mozilla.org/sops"
cd "${GOPATH}/src/go.mozilla.org/sops" || return 9
go get -d -v
termux_go_get -d -v
make install
install -Dm700 "${GOPATH}/bin/"*/sops "${TERMUX_PREFIX}/bin/sops"