Package Details: mylg-git 0.2.6.r60.gfaba867-1

Git Clone URL: https://aur.archlinux.org/mylg-git.git (read-only, click to copy)
Package Base: mylg-git
Description: An open source software utility which combines the functions of the different network probes in one network diagnostic tool
Upstream URL: http://mylg.io
Keywords: bgp golang looking-glass network ping snmp traceroute whois
Licenses: MIT
Submitter: ragouel
Maintainer: None
Last Packager: ragouel
Votes: 0
Popularity: 0.000000
First Submitted: 2020-04-23 18:23 (UTC)
Last Updated: 2020-06-20 16:04 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

fujoyaki commented on 2021-06-05 21:37 (UTC) (edited on 2021-06-05 21:37 (UTC) by fujoyaki)

https://daringfireball.net/projects/markdown/syntaxIn case this is broken for someone else, this is what I did to get it working with go version 1.16.5:

diff --git a/PKGBUILD b/PKGBUILD
index 9d5651a..0cd7186 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -29,11 +29,12 @@ build() {
   export CGO_CPPFLAGS="${CPPFLAGS}"
   export CGO_CXXFLAGS="${CXXFLAGS}"
   export GOFLAGS="-buildmode=pie -trimpath -modcacherw"
-  go build -o build ./...
+  go get .
+  go build -o build
 }

 package() {
   cd "${srcdir}/mylg"
   install -Dm755 build/mylg "${pkgdir}/usr/bin/${pkgname%-git}"
   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

One change is a typo, and the other one is an additional step for golang 1.16+.