1fbed3ffc9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 0a3c9b935c
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
11 lines
329 B
Bash
Executable file
11 lines
329 B
Bash
Executable file
#!/bin/sh
|
|
|
|
VNDR_COMMIT=f5ab8fc5fb64d66b5c6e55a0bcb58b2e92362fa0
|
|
|
|
install_vndr() {
|
|
echo "Install vndr version $VNDR_COMMIT"
|
|
git clone https://github.com/LK4D4/vndr.git "$GOPATH/src/github.com/LK4D4/vndr"
|
|
cd "$GOPATH/src/github.com/LK4D4/vndr"
|
|
git checkout -q "$VNDR_COMMIT"
|
|
go build -buildmode=pie -v -o "${PREFIX}/vndr" .
|
|
}
|