summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-03-01 14:03:06 +0100
committerKali Kaneko <kali@leap.se>2018-03-02 03:54:25 +0100
commit2412843a0e57102b78bc58bb6d981c8c68063b50 (patch)
treebc077282fe26ecc0a9aaed208db1e45282bad376 /pkg
parente1e1aaaeef34a218448180daaf28d9537488b15d (diff)
[pkg] cleanup a bit
Diffstat (limited to 'pkg')
-rw-r--r--pkg/riseupvpn/snap/snapcraft.yaml21
1 files changed, 20 insertions, 1 deletions
diff --git a/pkg/riseupvpn/snap/snapcraft.yaml b/pkg/riseupvpn/snap/snapcraft.yaml
index ed3ef073..8d490f31 100644
--- a/pkg/riseupvpn/snap/snapcraft.yaml
+++ b/pkg/riseupvpn/snap/snapcraft.yaml
@@ -27,10 +27,21 @@ parts:
- libffi-dev
- libsqlite3-dev
- libzmq3-dev
+ prime:
+ - -usr/include
+ - -usr/lib/locale
+ - -usr/share/X11/locale
+ - -usr/share/doc
+ - -usr/share/locale
+ - -usr/share/man
+ #- -usr/share/icons
openvpn:
plugin: nil
stage-packages:
- openvpn
+ prime:
+ - -usr/share/doc
+ - -usr/share/man
bitmask-systray:
plugin: go
source: https://0xacab.org/leap/bitmask-systray.git
@@ -53,6 +64,14 @@ parts:
ln -s "../usr/lib/$(gcc -print-multiarch)/$LIBZMQ" $SNAPCRAFT_PART_INSTALL/bin/libzmq.so.5
ln -s "../usr/lib/$(gcc -print-multiarch)/$LIBSOD" $SNAPCRAFT_PART_INSTALL/bin/libsodium.so.18
patchelf --set-rpath /snap/riseup-vpn/current/bin/ $SNAPCRAFT_PART_INSTALL/bin/bitmask-systray.git
+ prime:
+ - -usr/include
+ - -usr/lib/locale
+ - -usr/share/X11/locale
+ - -usr/share/doc
+ - -usr/share/locale
+ - -usr/share/man
+ #- -usr/share/icons
desktop-gtk3:
prime:
- -usr/include
@@ -61,7 +80,7 @@ parts:
- -usr/share/doc
- -usr/share/locale
- -usr/share/man
- - -usr/share/icons
+ #- -usr/share/icons
- '*'
apps: