pkg2appimage
pkg2appimage copied to clipboard
add vcmi and fix 0ad
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.
Hi @shouhuanxiaoji is there any chance you could send pull requests? This would make collaborating much easier. Thank you.
I have tried PR, and I found out that I didn't understand how to use %>_<%.
Can you elaborate? I am not sure what you were having trouble with but I'd like to help.
I have been working with ymls everyday, so if i take a pull request, it will conflict with your repo. but if every pr with alone branch, the network to github is so bad...