aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mylg/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-11-22 09:38:09 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-11-22 09:38:09 +0000
commit444333574820740cf91a2aea1a35d7371b5ff132 (patch)
tree66b906b2e4e14911700fbab423d359e813f1c1a3 /testing/mylg/APKBUILD
parent6758ac6d1253eb2a5785920007bfffd3d9f57cd9 (diff)
downloadaports-444333574820740cf91a2aea1a35d7371b5ff132.tar.bz2
aports-444333574820740cf91a2aea1a35d7371b5ff132.tar.xz
testing/mylg: new aport
Diffstat (limited to 'testing/mylg/APKBUILD')
-rw-r--r--testing/mylg/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/mylg/APKBUILD b/testing/mylg/APKBUILD
new file mode 100644
index 0000000000..7ee7c35492
--- /dev/null
+++ b/testing/mylg/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=mylg
+pkgver=0.2.6
+pkgrel=0
+pkgdesc="Network Diagnostic Tool"
+url="http://mylg.io"
+arch="all"
+license="MIT"
+makedepends="go libpcap-dev"
+subpackages=""
+source="$pkgname-$pkgver.tar.gz::https://github.com/mehrdadrad/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ export GOPATH="$srcdir"
+ go get -v
+ go build mylg.go
+}
+
+package() {
+ cd "$builddir"
+ install -Dm0755 "$builddir"/mylg "$pkgdir"/usr/bin/$pkgname
+}
+
+md5sums="82f0377f3d3edc9b85ff2da4e4120687 mylg-0.2.6.tar.gz"
+sha256sums="deeb8d406d72b446968e75072f8c27da77a843c76a704148fac750993cbd790e mylg-0.2.6.tar.gz"
+sha512sums="c8ee2c0ac713bdea976809064f1e49935a113198a4c6f540e28f863df709d368bb3b58da46a295fe477e9e6c2955067d3d75f9f6cffb30f0a0a05b3b7213b438 mylg-0.2.6.tar.gz"