diff options
author | Chris Fordham | 2020-11-08 20:47:20 +1100 |
---|---|---|
committer | Chris Fordham | 2020-11-08 20:47:20 +1100 |
commit | d6adcc8353a33b3bf3d6f2347d648902e638b406 (patch) | |
tree | 128ad7f1aa4964d5f093aa3ee8f20a65c96ed9d3 /PKGBUILD | |
parent | d9e1f33c3e20c10e651f334c9a3783230c035dad (diff) | |
download | aur-d6adcc8353a33b3bf3d6f2347d648902e638b406.tar.gz |
Export the local GOPATH in each stage function in-case needed or used.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -13,7 +13,7 @@ pkgname=docker-git _pkgname=docker -pkgver=r35925.b8e87cfdad +pkgver=r39078.b5ea9abf25 pkgrel=1 epoch=1 pkgdesc='Pack, ship and run any application as a lightweight container.' @@ -75,6 +75,8 @@ prepare() { } build() { + export GOPATH="$srcdir/go" + # runc msg2 'building runc' ln -sf "$srcdir/runc" "$GOPATH/src/github.com/opencontainers/" @@ -136,6 +138,8 @@ build() { # } package() { + export GOPATH="$srcdir/go" + msg2 'runc binary' install -Dm755 "$GOPATH/src/github.com/opencontainers/runc/runc" "$pkgdir/usr/bin/runc" |