source: branches/zoom/Install/appimage/build.sh

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