summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpkg/build_bundle_with_venv.sh1
-rw-r--r--pkg/pyinst/build.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/pkg/build_bundle_with_venv.sh b/pkg/build_bundle_with_venv.sh
index 848db960..3eb10f79 100755
--- a/pkg/build_bundle_with_venv.sh
+++ b/pkg/build_bundle_with_venv.sh
@@ -16,3 +16,4 @@ $VIRTUAL_ENV/bin/pip uninstall leap.bitmask
$VIRTUAL_ENV/bin/pip install .
make bundle
+make bundle_gpg
diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk
index 38038c51..a834f4ed 100644
--- a/pkg/pyinst/build.mk
+++ b/pkg/pyinst/build.mk
@@ -18,6 +18,10 @@ bundle_win:
cp ${VIRTUAL_ENV}/Lib/site-packages/zmq/libzmq.pyd $(DIST)
cp src/leap/bitmask/core/bitmaskd.tac $(DIST)
+bundle_gpg:
+ # TODO build it in a docker container!
+ mkdir -p $(DIST_VERSION)/apps/mail
+ cp /usr/bin/gpg $(DIST_VERSION)/apps/mail/
bundle_tar:
cd dist/ && tar cvzf Bitmask.$(NEXT_VERSION).tar.gz bitmask-$(NEXT_VERSION)