diff options
author | LawnCable <lawncable.gitlab@simonlaux.de> | 2018-12-22 20:44:23 +0100 |
---|---|---|
committer | LawnCable <lawncable.gitlab@simonlaux.de> | 2018-12-22 20:44:23 +0100 |
commit | b77ed4ed4b2a0b93517a348b4d6167bbefa33189 (patch) | |
tree | 6b5b02cf98f4e6b2e56a4a52b541db1eb27ad63f | |
download | appimg-builder-b77ed4ed4b2a0b93517a348b4d6167bbefa33189.tar.gz appimg-builder-b77ed4ed4b2a0b93517a348b4d6167bbefa33189.tar.bz2 appimg-builder-b77ed4ed4b2a0b93517a348b4d6167bbefa33189.tar.xz appimg-builder-b77ed4ed4b2a0b93517a348b4d6167bbefa33189.zip |
initial test
-rw-r--r-- | .gitlab-ci.yaml | 8 | ||||
-rw-r--r-- | build.sh | 46 | ||||
-rw-r--r-- | linuxdeploy-x86_64.AppImage | bin | 0 -> 3472776 bytes |
3 files changed, 54 insertions, 0 deletions
diff --git a/.gitlab-ci.yaml b/.gitlab-ci.yaml new file mode 100644 index 0000000..c584e3a --- /dev/null +++ b/.gitlab-ci.yaml @@ -0,0 +1,8 @@ +BuildAppImage: + image: ubuntu:trusty + script: + - build.sh + +artifacts: + paths: + - "*.AppImage*"
\ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..e20d2d2 --- /dev/null +++ b/build.sh @@ -0,0 +1,46 @@ +#!/bin/bash + +# Install dependencies +sudo apt-get -y build-dep manaplus + +# clone repo + +mkdir manaplus + +cd manaplus + +wget https://gitlab.com/manaplus/manaplus/-/archive/master/manaplus-master.tar.gz + +tar xvJf manaplus-master.tar.xz + +ls + +cd manaplus-master +autoreconf -i + +# compile + +dir=`pwd` + +autoreconf -i +./configure --prefix=$dir/run \ +--enable-commandlinepassword \ +--datadir=$dir/run/share/games \ +--bindir=$dir/run/bin \ +--mandir=$dir/run/share/man \ +--enable-portable=yes +cd po +make update-gmo -j10 +cd .. +make -j10 +mkdir run +make install + + +# package + +~/linuxdeploy-x86_64.AppImage --appdir appDir \ +-d ./run/share/applications/manaplus.desktop \ +-i ./data/icons/manaplus.svg \ +-e ./run/bin/manaplus \ +--output appimage diff --git a/linuxdeploy-x86_64.AppImage b/linuxdeploy-x86_64.AppImage Binary files differnew file mode 100644 index 0000000..1884977 --- /dev/null +++ b/linuxdeploy-x86_64.AppImage |