Commit 8dd5cff8 authored by Jeremiah Foster's avatar Jeremiah Foster
Browse files

Starting to add build instructions based on Gitlab CI files.

parent 15bbfc24
......@@ -33,7 +33,15 @@ dependencies for the Godot game engine this way
4. wget "http://download.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_linux_headless.64.zip"
I believe that this download is already in PureOS as the package godot3-server (it seems to produce the same output.)
5. wget "http://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}/Godot_v${GODOT_VERSION}-${GODOT_VARIANT}_export_templates.tpz"
6/ unzip Godot_v*_linux_headless.64.zip - unzip Godot_v*_export_templates.tpz - mv -v Godot_v*_linux_headless.64 /bin/godot - mv -v templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT} - cd .. - rm -rf ./downloads script: - godot -v -q --path ./$BUILD_NAME --export "Linux/X11" ../build/$DEB_NAME-$DEB_VERSION/$BUILD_NAME.x64 - mv -v ./debian/*.desktop ./build/$DEB_NAME-$DEB_VERSION - cp -v ./$BUILD_NAME/icon.png ./build/$DEB_NAME-$DEB_VERSION - ls -la ./build/$DEB_NAME-$DEB_VERSION - strip --strip-unneeded --remove-section=.comment --remove-section=.note ./build/$DEB_NAME-$DEB_VERSION/$BUILD_NAME.x64 - cd ./build - tar -vcJf ${DEB_NAME}_${DEB_VERSION}.orig.tar.xz $DEB_NAME-$DEB_VERSION - cd ./$DEB_NAME-$DEB_VERSION - cp -v -r ../../debian .
6. unzip Godot_v*_linux_headless.64.zip
7. unzip Godot_v*_export_templates.tpz
8. mv -v Godot_v*_linux_headless.64 /bin/godot # Replace this call with a call to godot3-server?
9. mv -v templates ~/.local/share/godot/templates/${GODOT_VERSION}.${GODOT_VARIANT}
10. cd ..
11. rm -rf ./downloads # We'll likely not need this
script: - godot -v -q --path ./$BUILD_NAME --export "Linux/X11" ../build/$DEB_NAME-$DEB_VERSION/$BUILD_NAME.x64 - mv -v ./debian/*.desktop ./build/$DEB_NAME-$DEB_VERSION - cp -v ./$BUILD_NAME/icon.png ./build/$DEB_NAME-$DEB_VERSION - ls -la ./build/$DEB_NAME-$DEB_VERSION - strip --strip-unneeded --remove-section=.comment --remove-section=.note ./build/$DEB_NAME-$DEB_VERSION/$BUILD_NAME.x64 - cd ./build - tar -vcJf ${DEB_NAME}_${DEB_VERSION}.orig.tar.xz $DEB_NAME-$DEB_VERSION - cd ./$DEB_NAME-$DEB_VERSION - cp -v -r ../../debian .
- fakeroot dpkg-buildpackage -F
- ls -la ..
## License and Copyright
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment