summaryrefslogtreecommitdiff
path: root/snap/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2018-10-04 22:10:21 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2018-10-05 00:25:25 +0200
commit0ff0191696723fd5885885974d47a9d54d7944bf (patch)
tree83ad6f6eb487602ed57101f5896c106487ac4b8f /snap/Makefile
parent3520dfb78dd518cd9b409aa9608ea81bd51d3a1f (diff)
[pkg] add desktop entry in debian
as a workaround for snap desktop entries not being available system-wide there
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