summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgor Kovetskiy2016-09-08 14:58:33 +0700
committerEgor Kovetskiy2016-09-08 14:58:33 +0700
commit0c0502c65ad5244e7faca4819bc3fa41814c5e15 (patch)
treebb2dc88967ff578733b059aa18824f15697eddd4
parent965236fc8612939e8b32d94a44c43dd505f02f6b (diff)
downloadaur-0c0502c65ad5244e7faca4819bc3fa41814c5e15.tar.gz
add conflicts
-rw-r--r--PKGBUILD5
1 files changed, 5 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6564c4094e9..ebaed00ad81 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,6 +22,10 @@ md5sums=(
backup=(
)
+conflicts=(
+ 'go-tools'
+ 'go-imports-git'
+)
pkgver() {
if [[ "$PKGVER" ]]; then
@@ -53,6 +57,7 @@ build() {
export GOPATH="$srcdir/go"
export GOBIN=""
+ rm -rf "$srcdir/go/src/golang.org/x/tools/cmd/"{bundle,stress,
go get -v \
-gcflags "-trimpath $GOPATH/src" \
./cmd/...