syncthing: unbreak arm cross compilation.
This commit is contained in:
parent
7ddcd0f133
commit
e70ec377bc
1 changed files with 2 additions and 3 deletions
|
@ -15,8 +15,7 @@ checksum=1ded8a4f0056cb7b7062368cb01f6750d60d3589afbab25f1ae925615d4d2e84
|
|||
|
||||
do_build() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*) goarch=armv6;;
|
||||
armv7*) goarch=armv7;;
|
||||
arm*) goarch=arm;;
|
||||
i686*) goarch=386;;
|
||||
x86_64*) goarch=amd64;;
|
||||
esac
|
||||
|
@ -33,7 +32,7 @@ do_build() {
|
|||
|
||||
do_install() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*|armv7*) vbin bin/linux_arm/syncthing;;
|
||||
arm*) vbin bin/linux_arm/syncthing;;
|
||||
x86_64*|i686*) vbin bin/syncthing;;
|
||||
esac
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in a new issue