Commit 45fafdfa authored by Roberto Oliveira's avatar Roberto Oliveira Committed by Natanael Copa

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.
parent c4b5ae6f
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment