summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
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