Skip to content

Instantly share code, notes, and snippets.

@DeedleFake
Last active January 11, 2017 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DeedleFake/526b38915468b9df8bbbfa4288d20661 to your computer and use it in GitHub Desktop.
Save DeedleFake/526b38915468b9df8bbbfa4288d20661 to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index 8ef2f13..10f59e4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -20,9 +20,11 @@ build() {
# Force our own git checkout
export GOPATH="$srcdir"
mkdir -p "$GOPATH/src/github.com/spf13"
ln -s `pwd` "$GOPATH/src/github.com/spf13/hugo"
- go get -d -v . || printf "Failed at go get"
+ cd "$GOPATH/src/github.com/spf13/hugo"
+ go get -u -v github.com/kardianos/govendor || printf "go get govendor failed"
+ "$GOPATH/bin/govendor" sync -v || printf "govendor failed"
make no-git-info || printf "make no-git-info failed"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment