summaryrefslogtreecommitdiff
path: root/pkg/riseupvpn/Makefile
blob: 6c0e5855a44755ece9878c65b90c1dab9eee4200 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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:
	./pack_installers
build: helpers
	# for speeding up build, see https://tribaal.io/making-lxd-fly-on-ubuntu-as-well.html
	cd ../.. && sudo snapcraft cleanbuild
install:
	cd ../.. && sudo snap install riseup-vpn_*.snap --dangerous --classic
uninstall:
	sudo snap remove riseup-vpn
deps:
	sudo apt install snapcraft lxd
init-lxd:
	sudo lxd init