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 | |
parent | 45549806d9628a58c7e95fbbb653af1826e74158 (diff) | |
download | aur-1e1f8a466a290167d876a4de2fa6a52c9b9f2d50.tar.gz |
hyperledger-fabric: added arm archs
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 10 insertions, 1 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sun Oct 22 16:19:36 UTC 2017 +# Sun Oct 22 16:27:46 UTC 2017 pkgbase = hyperledger-fabric pkgdesc = A platform for distributed ledger solutions, underpinned by a modular architecture delivering high degrees of confidentiality, resiliency, flexibility and scalability pkgver = 1.0.3 @@ -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 |