vcmi.yml, have tested in deepin 15.5
app: vcmi
ingredients:
dist: trusty
sources:
- deb https://mirrors.ustc.edu.cn/ubuntu/ trusty main restricted universe multiverse
ppas:
- vcmi/ppa
script:
- mv usr/lib/x86_64-linux-gnu/vcmi/* usr/lib/x86_64-linux-gnu/
- mv usr/games/* usr/lib/x86_64-linux-gnu/AI usr/share/vcmi/* -t usr/bin
- sed -i -e 's#/usr#././#g' usr/bin/vcmiclient usr/bin/vcmilauncher usr/bin/vcmiserver
- find . -name menu-game.png -exec cp {} vcmi.png \;
- cat > vcmi.desktop <<EOF
- [Desktop Entry]
- Type=Application
- Name=vcmi
- Icon=vcmi
- Exec=vcmilauncher
- Categories=Game;
- Comment=Open-source engine for Heroes of Might and Magic III.
- EOF
fix 0ad.yml, have tested in deepin 15.5
app: 0ad
ingredients:
dist: trusty
sources:
- deb https://mirrors.ustc.edu.cn/ubuntu/ trusty main universe
ppas:
- wfg/0ad
script:
- find usr/lib/games/0ad/ -type f -iname '*.so.*' -exec mv {} usr/lib/ \;
- mv usr/games/* usr/bin/
- mkdir -p usr/bin/share
- mv usr/share/games usr/bin/share
- sed -i -e 's#/usr#././#g' usr/bin/pyrogenesis
- sed -i '1a HERE=$(cd "$(dirname "$0")";pwd) && cd $HERE' usr/bin/0ad
- ln -s usr/lib/x86_64-linux-gnu/libmozjs-38.so.0.0.0 usr/lib/x86_64-linux-gnu/libjs.so.0
please check and test. and you can modify the mirror from mirrors.ustc.edu.cn to another one.
vcmi.yml, have tested in deepin 15.5
fix 0ad.yml, have tested in deepin 15.5
please check and test. and you can modify the mirror from mirrors.ustc.edu.cn to another one.