diff options
author | M0Rf30 | 2017-10-22 18:27:59 +0200 |
---|---|---|
committer | M0Rf30 | 2017-10-22 18:27:59 +0200 |
commit | 1e1f8a466a290167d876a4de2fa6a52c9b9f2d50 (patch) | |
tree | 24f69e9325a9cfedf350bf16e7ef75b2cfaeae91 /PKGBUILD | |
parent | 45549806d9628a58c7e95fbbb653af1826e74158 (diff) | |
download | aur-1e1f8a466a290167d876a4de2fa6a52c9b9f2d50.tar.gz |
hyperledger-fabric: added arm archs
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -13,6 +13,15 @@ depends=('go' 'docker') makedepends=('git') install=$pkgname.install source=("https://github.com/hyperledger/fabric/archive/v$pkgver.tar.gz") +export GOOS=linux +case "$CARCH" in + x86_64) export GOARCH=amd64 ;; + i686) export GOARCH=386 GO386=387 ;; + arm) export GOARCH=arm GOARM=5 ;; + armv6h) export GOARCH=arm GOARM=6 ;; + armv7h) export GOARCH=arm GOARM=7 ;; + aarch64) export GOARCH=arm64 ;; +esac prepare() { export GOPATH="$PWD"/.gopath |