Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <mail@3v1n0.net>2018-05-22 21:29:37 +0300
committerMarco Trevisan (Treviño) <mail@3v1n0.net>2018-05-22 21:37:19 +0300
commit7f67da251e1a039b5ff9ee442c82c7aebc3fe22e (patch)
treecf940e982fcefa774c036947d2c65ffc66be82ad /snap
parent1ba63f1537ed182bc51200e607afbdf059f8fdbf (diff)
snap: remove deprecated scriptlets stanzas
Use override-'s instead.
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 87336c673..e97c9a7d0 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -92,7 +92,8 @@ parts:
plugin: cmake
source: .
parse-info: [usr/share/metainfo/org.remmina.Remmina.appdata.xml]
- prepare: |
+ override-pull: |
+ snapcraftctl pull
SNAPCRAFT_PART_SRC=$SNAPCRAFT_PART_INSTALL/../src
cp -av $SNAPCRAFT_STAGE/../snap $SNAPCRAFT_PART_SRC
stage-packages:
@@ -120,7 +121,8 @@ parts:
# 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: |
+ override-build: |
+ snapcraftctl build
cp -av $SNAPCRAFT_PART_INSTALL/../src/snap/gui $SNAPCRAFT_STAGE/../snap
organize:
@@ -140,8 +142,9 @@ parts:
- libappindicator3-1
stage:
- -./usr/share/fonts/**
- install: |
+ override-build: |
set -x
+ snapcraftctl build
export XDG_DATA_DIRS=$SNAPCRAFT_PART_INSTALL/usr/share
update-mime-database $SNAPCRAFT_PART_INSTALL/usr/share/mime
for dir in $SNAPCRAFT_PART_INSTALL/usr/share/icons/*/; do