summaryrefslogtreecommitdiff
path: root/snap/Makefile
blob: 0d76a6f17c85dd0daec5a44586cc3bb5b4cfe47d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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:
	local/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