2024-11-03 15:26:16 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
cd HiperthermiaSource
|
2024-11-10 18:04:52 +01:00
|
|
|
perl Build.PL
|
|
|
|
perl Build build
|
2024-11-03 15:26:16 +01:00
|
|
|
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
|
2024-11-10 18:04:52 +01:00
|
|
|
install -Dm755 HiperthermiaSource/run.sh /app/bin/hiperthermia
|
2024-11-03 15:26:16 +01:00
|
|
|
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/
|
|
|
|
|