#!/usr/bin/env bash cd HiperthermiaSource 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/