diff options
author | Jesusalva Jesusalva <jesusalva@themanaworld.org> | 2024-02-01 15:46:58 +0000 |
---|---|---|
committer | Administrator <admin@themanaworld.org> | 2024-02-01 15:46:58 +0000 |
commit | c5cc6c27ed37788432307e83f0b9ae250b7f0fce (patch) | |
tree | 0ff3dfdfb3fe7899bbbd0130b959d7fbfd92d19e /build_appimg_mana.sh | |
parent | 3d72dbaedf31bf7d446ea5139d54a7bc0f098701 (diff) | |
download | appimg-builder-c5cc6c27ed37788432307e83f0b9ae250b7f0fce.tar.gz appimg-builder-c5cc6c27ed37788432307e83f0b9ae250b7f0fce.tar.bz2 appimg-builder-c5cc6c27ed37788432307e83f0b9ae250b7f0fce.tar.xz appimg-builder-c5cc6c27ed37788432307e83f0b9ae250b7f0fce.zip |
Add expiration time for jobs and unfinished files.
Diffstat (limited to 'build_appimg_mana.sh')
-rw-r--r-- | build_appimg_mana.sh | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/build_appimg_mana.sh b/build_appimg_mana.sh new file mode 100644 index 0000000..4cc4c13 --- /dev/null +++ b/build_appimg_mana.sh @@ -0,0 +1,47 @@ +#!/bin/bash +set -e + +# clone repo + +mkdir manaplus + +cd manaplus + +git clone https://git.themanaworld.org/mana/mana.git mana + +cd mana + +# compile + +dir=`pwd` + +#autoreconf -i + +#CPPFLAGS="-DTCP_THIN_LINEAR_TIMEOUTS -DTCP_THIN_DUPACK" ./configure --prefix=$dir/run \ +#--datadir=$dir/run/share/games \ +#--bindir=$dir/run/bin \ +#--mandir=$dir/run/share/man \ +#--enable-portable=yes + +#cd po +#make update-gmo -j4 +#cd .. +cmake -D CMAKE_INSTALL_PREFIX=$dir/run . +make -j4 +mkdir run +make install + +# package +mkdir AppDir + +cp -r $dir/run/share/games/mana/data AppDir/data +cp ../../AppRun AppDir/AppRun + +../../squashfs-root/AppRun --appdir AppDir \ +-d ../../mana.desktop \ +-i ./data/icons/mana.svg \ +-e ./run/bin/mana \ +--output appimage + +mv *.AppImage ../../ + |