1 | #!/bin/bash
|
---|
2 |
|
---|
3 | lazbuild --build-mode=Release ../../AI/StdAI/StdAI.lpi
|
---|
4 | mv ../../AI/StdAI/libstdai.so ../../AI/StdAI/libstdai-amd64.so
|
---|
5 | lazbuild --build-mode=Release ../../Integrated.lpi
|
---|
6 | install -Dm755 ../../c-evo -t AppDir/usr/bin
|
---|
7 | install -Dm644 ../../Language.txt -t AppDir/usr/share/c-evo
|
---|
8 | install -Dm644 ../../Language2.txt -t AppDir/usr/share/c-evo
|
---|
9 | install -Dm644 ../../Fonts.txt -t AppDir/usr/share/c-evo
|
---|
10 | install -Dm644 ../../Install/flatpak/net.zdechov.app.C-evo.desktop -t AppDir
|
---|
11 | install -Dm644 ../../Install/flatpak/net.zdechov.app.C-evo.desktop -t AppDir/usr/share/applications
|
---|
12 | install -Dm644 ../../Install/deb/c-evo.xml -t AppDir/usr/share/mime/packages
|
---|
13 | install -Dm644 ../../Graphics/c-evo_256x256.png AppDir/net.zdechov.app.C-evo.png
|
---|
14 | install -Dm644 ../../Graphics/c-evo_256x256.png AppDir/usr/share/icons/hicolor/256x256/apps/net.zdechov.app.C-evo.png
|
---|
15 | install -Dm644 ../../Graphics/c-evo_256x256.png -t AppDir/usr/share/pixmaps/application-cevo.png
|
---|
16 | install -Dm644 ../../Graphics/c-evo_256x256.png -t AppDir/usr/share/pixmaps/application-cevomap.png
|
---|
17 | install -Dm644 ../../AI/StdAI/libstdai-amd64.so -t AppDir/usr/share/c-evo/AI/StdAI
|
---|
18 | install -Dm644 ../../AI/StdAI/StdAI.ai.txt -t AppDir/usr/share/c-evo/AI/StdAI
|
---|
19 | install -Dm644 ../../AI/StdAI/StdAI.png -t AppDir/usr/share/c-evo/AI/StdAI
|
---|
20 | install -Dm644 ../flatpak/net.zdechov.app.C-evo.appdata.xml AppDir/usr/share/metainfo/net.zdechov.app.C-evo.appdata.xml
|
---|
21 | cp -r ../../Graphics AppDir/usr/share/c-evo
|
---|
22 | cp -r ../../Help AppDir/usr/share/c-evo
|
---|
23 | cp -r ../../Sounds AppDir/usr/share/c-evo
|
---|
24 | cp -r ../../Tribes AppDir/usr/share/c-evo
|
---|
25 | cp -r ../../Localization AppDir/usr/share/c-evo
|
---|
26 | cp -r ../../Maps AppDir/usr/share/c-evo
|
---|
27 | cp -r ../../Saved AppDir/usr/share/c-evo
|
---|
28 | cp -r "../../AI Template" AppDir/usr/share/c-evo
|
---|
29 |
|
---|
30 | install -Dm755 AppRun -t AppDir
|
---|
31 | wget -nc https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
|
---|
32 | chmod +x appimagetool-x86_64.AppImage
|
---|
33 | ARCH=x86_64 ./appimagetool-x86_64.AppImage AppDir C-evo-x86_64.AppImage
|
---|