diff options
author | jak1 <mike.wollmann@gmail.com> | 2021-04-24 23:01:40 +0000 |
---|---|---|
committer | jak1 <mike.wollmann@gmail.com> | 2021-04-24 23:01:40 +0000 |
commit | 1935c3f18cd73a4396d3d603d49dfb14602a9a6a (patch) | |
tree | d4cec8c43766589a77e382f10b96b4cc5edbf5d2 /build_appimg.sh | |
parent | aad98941ea4a6d6f4f0b19fb027b4d5aca97feca (diff) | |
download | appimg-builder-1935c3f18cd73a4396d3d603d49dfb14602a9a6a.tar.gz appimg-builder-1935c3f18cd73a4396d3d603d49dfb14602a9a6a.tar.bz2 appimg-builder-1935c3f18cd73a4396d3d603d49dfb14602a9a6a.tar.xz appimg-builder-1935c3f18cd73a4396d3d603d49dfb14602a9a6a.zip |
adding deployment for *.deb pkg's
Diffstat (limited to 'build_appimg.sh')
-rw-r--r-- | build_appimg.sh | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/build_appimg.sh b/build_appimg.sh new file mode 100644 index 0000000..da60d84 --- /dev/null +++ b/build_appimg.sh @@ -0,0 +1,47 @@ +#!/bin/bash +set -e + +# clone repo + +mkdir manaplus + +cd manaplus + +git clone https://gitlab.com/themanaworld/manaplus/manaplus.git manaplus + +cd manaplus + +# 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 -j4 +cd .. +make -j4 +mkdir run +make install + +# package +mkdir AppDir + +cp -r $dir/run/share/games/manaplus/data AppDir/data +cp ../../AppRun AppDir/AppRun + +../../squashfs-root/AppRun --appdir AppDir \ +-d ../../manaplus.desktop \ +-i ./data/icons/manaplus.svg \ +-e ./run/bin/manaplus \ +--output appimage + +mv *.AppImage ../../ + |