source: trunk/Install/appimage/build.sh

Last change on this file was 647, checked in by chronos, 4 days ago
  • Modified: Detect data files usr/share/c-evo directory on Linux as relative directory to usr/bin directory.
  • Property svn:executable set to *
File size: 2.0 KB
Line 
1#!/bin/bash
2
3lazbuild --build-mode=Release ../../AI/StdAI/StdAI.lpi
4mv ../../AI/StdAI/libstdai.so ../../AI/StdAI/libstdai-amd64.so
5lazbuild --build-mode=Release ../../Integrated.lpi
6install -Dm755 ../../c-evo -t AppDir/usr/bin
7install -Dm644 ../../Language.txt -t AppDir/usr/share/c-evo
8install -Dm644 ../../Language2.txt -t AppDir/usr/share/c-evo
9install -Dm644 ../../Fonts.txt -t AppDir/usr/share/c-evo
10install -Dm644 ../../Install/flatpak/net.zdechov.app.C-evo.desktop -t AppDir
11install -Dm644 ../../Install/flatpak/net.zdechov.app.C-evo.desktop -t AppDir/usr/share/applications
12install -Dm644 ../../Install/deb/c-evo.xml -t AppDir/usr/share/mime/packages
13install -Dm644 ../../Graphics/c-evo_256x256.png AppDir/net.zdechov.app.C-evo.png
14install -Dm644 ../../Graphics/c-evo_256x256.png AppDir/usr/share/icons/hicolor/256x256/apps/net.zdechov.app.C-evo.png
15install -Dm644 ../../Graphics/c-evo_256x256.png -t AppDir/usr/share/pixmaps/application-cevo.png
16install -Dm644 ../../Graphics/c-evo_256x256.png -t AppDir/usr/share/pixmaps/application-cevomap.png
17install -Dm644 ../../AI/StdAI/libstdai-amd64.so -t AppDir/usr/share/c-evo/AI/StdAI
18install -Dm644 ../../AI/StdAI/StdAI.ai.txt -t AppDir/usr/share/c-evo/AI/StdAI
19install -Dm644 ../../AI/StdAI/StdAI.png -t AppDir/usr/share/c-evo/AI/StdAI
20install -Dm644 ../flatpak/net.zdechov.app.C-evo.appdata.xml AppDir/usr/share/metainfo/net.zdechov.app.C-evo.appdata.xml
21cp -r ../../Graphics AppDir/usr/share/c-evo
22cp -r ../../Help AppDir/usr/share/c-evo
23cp -r ../../Sounds AppDir/usr/share/c-evo
24cp -r ../../Tribes AppDir/usr/share/c-evo
25cp -r ../../Localization AppDir/usr/share/c-evo
26cp -r ../../Maps AppDir/usr/share/c-evo
27cp -r ../../Saved AppDir/usr/share/c-evo
28cp -r "../../AI Template" AppDir/usr/share/c-evo
29
30install -Dm755 AppRun -t AppDir
31wget -nc https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
32chmod +x appimagetool-x86_64.AppImage
33ARCH=x86_64 ./appimagetool-x86_64.AppImage AppDir C-evo-x86_64.AppImage
Note: See TracBrowser for help on using the repository browser.