summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoses Narrow2019-04-25 18:13:50 -0500
committerMoses Narrow2019-04-25 18:13:50 -0500
commitd92c4d80586ad35c2fc0c4462f10c5817f5cf03a (patch)
treeb62e58d2b21839bbe86e677f63cd9cdb38fc16c1
parent55437ad11ae1c5c0780afd2f1108d6eccfc8825c (diff)
downloadaur-skywire-mainnet.tar.gz
change CGO ENABLED=1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e10db3996bc..f8fec6d7733 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = skywire-mainnet
pkgdesc = Skywire: Building a New Internet. Skycoin.net
pkgver = autogenerated
- pkgrel = 5
+ pkgrel = 6
url = https://github.com/skycoin/skywire
arch = any
makedepends = dep
diff --git a/PKGBUILD b/PKGBUILD
index 726a6270fa6..097033814b4 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=5
+pkgrel=6
arch=('any')
url="https://${pkggopath}"
license=()
@@ -21,9 +21,9 @@ export GOOS=linux
export GOPATH="$srcdir"
export GOROOT="$builddir"
export GOBIN="$GOROOT"/bin
-export GOROOT_FINAL=/usr/lib/$pkgname
+export GOROOT_FINAL=/usr/lib/go
-export CGO_ENABLED=0
+export CGO_ENABLED=1
case "$CARCH" in
x86) export GOARCH="386" GO386="387" ;;
@@ -91,7 +91,7 @@ package() {
cp -r $srcdir/$pkgname1/ $pkgdir/usr/lib/$projectname/
msg2 'installing binaries'
skybins="$srcdir"/go/bin
- cp $skybins/manager-node $skybins/$pkgname1-manager-node
+ ln -rTsf $skybins/manager-node $skybins/$pkgname1-manager-node
skywirebins=$( ls $skybins )
for i in $skywirebins; do
install -Dm755 $srcdir/go/bin/$i $pkgdir/usr/lib/$projectname/go/bin/$i