summaryrefslogtreecommitdiff
path: root/pkg/docker_bundler/systray.sh
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-15 17:32:28 +0100
committerKali Kaneko <kali@leap.se>2018-02-15 17:32:28 +0100
commit0388014636ce25fd1786c8bb79727dd643604f11 (patch)
tree38a8c9553488e5cce07dc444efdc5e4145c66f75 /pkg/docker_bundler/systray.sh
parent16e8c9179b15f10570670e6068f87357427fd12b (diff)
[pkg] rename bundling scripts to add clarity
Diffstat (limited to 'pkg/docker_bundler/systray.sh')
-rw-r--r--pkg/docker_bundler/systray.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/docker_bundler/systray.sh b/pkg/docker_bundler/systray.sh
new file mode 100644
index 00000000..4bb19067
--- /dev/null
+++ b/pkg/docker_bundler/systray.sh
@@ -0,0 +1,10 @@
+export GOPATH=/srv/go
+export CGO_CPPFLAGS="-I/usr/include"
+export CGO_LDFLAGS="-L/usr/lib -L/usr/lib/z86_64-linux-gnu -lzmq -lpthread -lsodium -lrt -lstdc++ -lm -lc -lgcc"
+
+echo "[+] building systray deps"
+go get -a 0xacab.org/leap/bitmask-systray
+cd /src/leap && git clone --depth 1 --single-branch --branch master https://0xacab.org/leap/bitmask-systray
+echo "[+] building systray"
+cd bitmask-systray && go build .
+cp -r /src/leap/bitmask-systray/bitmask-systray /dist