aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-06-13 12:08:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-14 10:42:04 +0000
commit45fafdfa16378b336882cf55cf746b51e1fcf5fe (patch)
tree136b00d4043f319a9694d0a9f704c1bd9311fc4d /testing
parentc4b5ae6ff9d398c5cf6c7c9f726e8ee746d52dd3 (diff)
downloadaports-45fafdfa16378b336882cf55cf746b51e1fcf5fe.tar.bz2
aports-45fafdfa16378b336882cf55cf746b51e1fcf5fe.tar.xz
testing/mylg: fix build and enable on ppc64le
Added -d flag in 'go get' command, otherwise it was trying to install the package and build was failing.
Diffstat (limited to 'testing')
-rw-r--r--testing/mylg/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/mylg/APKBUILD b/testing/mylg/APKBUILD
index 9b42491560..5bb41050d6 100644
--- a/testing/mylg/APKBUILD
+++ b/testing/mylg/APKBUILD
@@ -2,10 +2,10 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=mylg
pkgver=0.2.6
-pkgrel=0
+pkgrel=1
pkgdesc="Network Diagnostic Tool"
url="http://mylg.io"
-arch="all !ppc64le"
+arch="all"
license="MIT"
makedepends="go libpcap-dev"
subpackages=""
@@ -15,13 +15,13 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
export GOPATH="$srcdir"
- go get -v
+ go get -v -d
go build mylg.go
}
package() {
cd "$builddir"
- install -Dm0755 "$builddir"/mylg "$pkgdir"/usr/bin/$pkgname
+ install -Dm0755 "$builddir"/mylg "$pkgdir"/usr/bin/$pkgname
}
md5sums="82f0377f3d3edc9b85ff2da4e4120687 mylg-0.2.6.tar.gz"