blob: 4e08e6f074c90cad6368d35c055ec57c8084bee5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
/builds/mana-launcher/mplusbuilder/linuxdeploy-x86_64.AppImage --appdir appDir \
-d ./run/share/applications/manaplus.desktop \
-i ./data/icons/manaplus.svg \
-e ./run/bin/manaplus \
--output appimage
|