diff options
author | Tony Lambiris | 2021-12-11 01:43:04 -0500 |
---|---|---|
committer | Tony Lambiris | 2021-12-11 01:43:04 -0500 |
commit | 085d2d350a52e5eabd4533df0989a779dffd1c6a (patch) | |
tree | 1554cce4cc5191022ab0dad94cd3a69289009049 | |
parent | a0bc5b869f0141d1e4e52bd0fe6ba41073015103 (diff) | |
download | aur-085d2d350a52e5eabd4533df0989a779dffd1c6a.tar.gz |
Version bump
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 5 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = dive-git pkgdesc = A tool for exploring each layer in a docker image pkgver = v0.10.0.r2.gc7d121b - pkgrel = 1 + pkgrel = 2 url = https://github.com/wagoodman/dive arch = x86_64 arch = i686 @@ -2,7 +2,7 @@ pkgname=dive-git pkgver=v0.10.0.r2.gc7d121b -pkgrel=1 +pkgrel=2 pkgdesc="A tool for exploring each layer in a docker image" url="https://github.com/wagoodman/dive" arch=('x86_64' 'i686') @@ -24,11 +24,6 @@ prepare() { install -m755 -d "${srcdir}/go/src/github.com/wagoodman/" ln -sf "${srcdir}/${pkgname}" "${srcdir}/go/src/github.com/wagoodman/dive" - - cd "${srcdir}/go/src/github.com/wagoodman/dive" - - export GOPATH="${srcdir}/go" - go get -v ./... } build() { @@ -37,10 +32,9 @@ build() { mkdir -p build export GOPATH="${srcdir}/go" - go build -ldflags "-s -w" \ - -gcflags="all=-trimpath=${GOPATH}/src" \ - -asmflags="all=-trimpath=${GOPATH}/src" \ - -o build/dive + go build \ + -trimpath -modcacherw \ + -ldflags "-s -w" -o build/dive } package() { |