summaryrefslogtreecommitdiff
path: root/snap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'snap/Makefile')
-rw-r--r--snap/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/snap/Makefile b/snap/Makefile
new file mode 100644
index 0000000..f00d3f6
--- /dev/null
+++ b/snap/Makefile
@@ -0,0 +1,16 @@
+# Build a snap package for RiseupVPN.
+# (c) LEAP Encryption Access Project, 2018
+# We have to use classic confinement because it does not seem to be another way, at the moment,
+# to use policykit.
+
+helpers:
+ pre/pack_installers
+build: helpers
+ # for speeding up build, see https://tribaal.io/making-lxd-fly-on-ubuntu-as-well.html
+ sudo snapcraft cleanbuild
+install:
+ sudo snap install riseup-vpn_*.snap --dangerous --classic
+deps:
+ sudo apt install snapcraft lxd
+init-lxd:
+ sudo lxd init