From 7ee1dbc6468f5c6bbd4f3d795f221774e1d7ada3 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Tue, 27 Feb 2018 23:44:25 +0100 Subject: [pkg] add deps to Makefile --- pkg/riseupvpn/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'pkg/riseupvpn/Makefile') diff --git a/pkg/riseupvpn/Makefile b/pkg/riseupvpn/Makefile index ab2b7793..58079cc6 100644 --- a/pkg/riseupvpn/Makefile +++ b/pkg/riseupvpn/Makefile @@ -1,11 +1,18 @@ -build: installers +# 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. + +build: helpers # for speeding up build, see https://tribaal.io/making-lxd-fly-on-ubuntu-as-well.html sudo snapcraft cleanbuild +helpers: + ./pack_installers install: 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 -installers: - ./pack_installers -- cgit v1.2.3