summaryrefslogtreecommitdiff
path: root/pkg/docker_bundleapt/systray.sh
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-14 02:38:47 +0100
committerKali Kaneko <kali@leap.se>2018-02-15 16:36:58 +0100
commit5abd127f3780ca2078962ace489bd4c32b5d545d (patch)
tree4e3f81c695fe848906c89b4fd34c20a4e9c39e02 /pkg/docker_bundleapt/systray.sh
parent76878da40906af750aed62d63bd1e928bfa45163 (diff)
[pkg] packaging fixes for anonvpn bundle
Diffstat (limited to 'pkg/docker_bundleapt/systray.sh')
-rw-r--r--pkg/docker_bundleapt/systray.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/docker_bundleapt/systray.sh b/pkg/docker_bundleapt/systray.sh
new file mode 100644
index 00000000..4bb19067
--- /dev/null
+++ b/pkg/docker_bundleapt/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