From 5abd127f3780ca2078962ace489bd4c32b5d545d Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Wed, 14 Feb 2018 02:38:47 +0100 Subject: [pkg] packaging fixes for anonvpn bundle --- pkg/docker_bundleapt/systray.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pkg/docker_bundleapt/systray.sh (limited to 'pkg/docker_bundleapt/systray.sh') 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 -- cgit v1.2.3