diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2018-02-28 01:56:58 +0300 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2018-02-28 01:56:58 +0300 |
commit | 8006f74f48a7cf1b20acf9186056d38a0e9da4de (patch) | |
tree | ba8ecd3990c366241c6185910888e51f8226b538 /snap/snapcraft.yaml | |
parent | fea06ccc777b5e432428292c846417790818d9de (diff) |
snapcraft: copy gui data to the snap folder on install
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r-- | snap/snapcraft.yaml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index dcb04dd7d..39fd1d54b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -117,8 +117,12 @@ parts: - -DCMAKE_PREFIX_PATH=$SNAPCRAFT_STAGE/usr - -DSNAP_BUILD=on - # XXX: This is an hack to have a kind of bind-mount with absolute prefix. + # XXX: This is an hack to have a kind of bind-mount with absolute prefix. - -DCMAKE_INSTALL_PREFIX=/snap/$SNAPCRAFT_PROJECT_NAME/current/usr + + install: | + cp -av $SNAPCRAFT_PART_INSTALL/../src/snap/gui $SNAPCRAFT_STAGE/../snap + organize: snap/remmina/current: . stage: |