9 lines
486 B
Shell
9 lines
486 B
Shell
|
|
#!/bin/sh
|
||
|
|
# Run from the Cargo project root during the Flatpak module's build commands.
|
||
|
|
# Deliberately separate from the executable installation.
|
||
|
|
set -eu
|
||
|
|
prefix="${1:-/app}"
|
||
|
|
id='at.criticalcare.SimPaM'
|
||
|
|
install -Dm644 "data/${id}.desktop" "${prefix}/share/applications/${id}.desktop"
|
||
|
|
install -Dm644 "data/${id}.metainfo.xml" "${prefix}/share/metainfo/${id}.metainfo.xml"
|
||
|
|
install -Dm644 "data/icons/hicolor/scalable/apps/${id}.svg" "${prefix}/share/icons/hicolor/scalable/apps/${id}.svg"
|