summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoses Narrow2019-04-08 16:33:44 -0500
committerMoses Narrow2019-04-08 16:33:44 -0500
commit3ef1af5c0f53bcf23cb38a805f7f87f42568ba54 (patch)
tree1ecee207c817e1cc4a6d2a0353542f0a3fe9a1d7
parent0dc4aba5e0b715f598e9165273ccbe91a81414dc (diff)
downloadaur-3ef1af5c0f53bcf23cb38a805f7f87f42568ba54.tar.gz
bump pkgrel; fix for aarch64
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD16
2 files changed, 13 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5b02eb0caee..220cf011647 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = skywire-mainnet
pkgdesc = Skywire: Building a New Internet. Skycoin.net
pkgver = autogenerated
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/skycoin/skywire
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 6471c08d67f..dfb9d23acea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ pkgname1=skywire
pkgdesc="Skywire: Building a New Internet. Skycoin.net"
pkgver='autogenerated'
pkggopath="github.com/$projectname/$pkgname1"
-pkgrel=3
+pkgrel=4
arch=('x86_64' 'i686' 'armv6h' 'armv7h' 'aarch64')
url="https://${pkggopath}"
license=()
@@ -26,13 +26,21 @@ export GOROOT_FINAL=/usr/lib/$pkgname
export CGO_ENABLED=0
case "$CARCH" in
+
+x86) export GOARCH="386" GO386="387" ;;
+x86_64) export GOARCH="amd64" ;;
+arm*) export GOARCH="arm" ;;
armel) export GOARCH="arm" GOARM="5" ;;
armhf) export GOARCH="arm" GOARM="6" ;;
armv7) export GOARCH="arm" GOARM="7" ;;
-x86) export GOARCH="386" GO386="387" ;;
-x86_64) export GOARCH="amd64" ;;
+armv8) export GOARCH="arm64" ;;
+aarch64) export GOARCH="arm64" ;;
+mips) export GOARCH="mips" ;;
+mips64) export GOARCH="mips64" ;;
+mips64el) export GOARCH="mips64le" ;;
+mipsel) export GOARCH="mipsle" ;;
*) return 1 ;;
-esac
+ esac
pkgver() {
cd "$srcdir/$pkgname1"