Exd/build-for-flatpak.sh

16 lines
853 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
cd HiperthermiaSource
2024-11-10 18:04:52 +01:00
perl Build.PL
perl Build build
cd -
cp HiperthermiaSource/app_config.prod.json HiperthermiaSource/app_config.json
cp -vr HiperthermiaSource ${FLATPAK_DEST}/Hiperthermia
glib-compile-resources --sourcedir=${FLATPAK_DEST}/Hiperthermia ${FLATPAK_DEST}/Hiperthermia/resources.xml
install -Dm644 HiperthermiaSource/me.sergiotarxz.Exd.desktop /app/share/applications/me.sergiotarxz.Exd.desktop
install -Dm644 HiperthermiaSource/me.sergiotarxz.Exd.mime.xml /app/share/mime/packages/me.sergiotarxz.Exd.mime.xml
install -Dm755 HiperthermiaSource/run.pl /app/bin/hiperthermia
install -Dm644 HiperthermiaSource/exd-logo.png /app/share/icons/hicolor/256x256/apps/me.sergiotarxz.Exd.png
update-mime-database /app/share/mime
install -Dm644 HiperthermiaSource/me.sergiotarxz.Exd.metainfo.xml -t /app/share/metainfo/