mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 03:53:51 +02:00
otto: fix cross-compilation
This commit is contained in:
parent
1633070248
commit
e1b40c13f0
1 changed files with 5 additions and 5 deletions
|
@ -17,13 +17,13 @@ do_build() {
|
||||||
mkdir -p "$(dirname ${path})"
|
mkdir -p "$(dirname ${path})"
|
||||||
ln -fs $PWD "${path}"
|
ln -fs $PWD "${path}"
|
||||||
|
|
||||||
cd "$GOPATH/src/$go_import_path"
|
cd "$GOPATH/src/$go_import_path"
|
||||||
make updatedeps
|
GOOS= GOARCH= GOARM= make updatedeps
|
||||||
PATH=$GOPATH/bin:$PATH make generate
|
PATH=$GOPATH/bin:$PATH make generate
|
||||||
go install
|
go install
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm $DESTDIR/usr/bin/{go-bindata,gox,stringer}
|
rm $DESTDIR/usr/bin/{go-bindata,gox,stringer}
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue