1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-16 14:25:19 -05:00
minetest/makepackage_binary.sh

68 lines
2.3 KiB
Bash
Raw Normal View History

2010-11-26 18:02:21 -05:00
#!/bin/sh
2011-07-21 02:36:30 -04:00
PROJECT_NAME=minetest-delta
PACKAGEDIR=../$PROJECT_NAME-packages
PACKAGENAME=$PROJECT_NAME-binary-`date +%y%m%d%H%M%S`
2010-11-26 18:02:21 -05:00
PACKAGEPATH=$PACKAGEDIR/$PACKAGENAME
mkdir -p $PACKAGEPATH
mkdir -p $PACKAGEPATH/bin
mkdir -p $PACKAGEPATH/data
mkdir -p $PACKAGEPATH/doc
2011-07-21 02:36:30 -04:00
mkdir -p $PACKAGEPATH/locale/de/LC_MESSAGES/
2010-11-26 18:02:21 -05:00
cp minetest.conf.example $PACKAGEPATH/
2011-07-21 02:36:30 -04:00
cp bin/$PROJECT_NAME.exe $PACKAGEPATH/bin/
2010-11-26 18:02:21 -05:00
cp bin/Irrlicht.dll $PACKAGEPATH/bin/
2010-12-13 19:24:00 -05:00
cp bin/zlibwapi.dll $PACKAGEPATH/bin/
2010-11-26 18:02:21 -05:00
#cp bin/test $PACKAGEPATH/bin/
#cp bin/fasttest $PACKAGEPATH/bin/
#cp bin/server $PACKAGEPATH/bin/
#cp ../irrlicht/irrlicht-1.7.1/lib/Linux/libIrrlicht.a $PACKAGEPATH/bin/
#cp ../jthread/jthread-1.2.1/src/.libs/libjthread-1.2.1.so $PACKAGEPATH/bin/
2010-11-26 18:02:21 -05:00
cp -r data/fontlucida.png $PACKAGEPATH/data/
cp -r data/player.png $PACKAGEPATH/data/
cp -r data/player_back.png $PACKAGEPATH/data/
cp -r data/stone.png $PACKAGEPATH/data/
cp -r data/grass.png $PACKAGEPATH/data/
cp -r data/grass_footsteps.png $PACKAGEPATH/data/
cp -r data/water.png $PACKAGEPATH/data/
cp -r data/tree.png $PACKAGEPATH/data/
cp -r data/leaves.png $PACKAGEPATH/data/
cp -r data/mese.png $PACKAGEPATH/data/
cp -r data/cloud.png $PACKAGEPATH/data/
2010-11-26 18:02:21 -05:00
cp -r data/sign.png $PACKAGEPATH/data/
cp -r data/sign_back.png $PACKAGEPATH/data/
cp -r data/rat.png $PACKAGEPATH/data/
cp -r data/mud.png $PACKAGEPATH/data/
2010-12-12 20:19:12 -05:00
cp -r data/torch.png $PACKAGEPATH/data/
2010-12-13 14:32:35 -05:00
cp -r data/torch_on_floor.png $PACKAGEPATH/data/
cp -r data/torch_on_ceiling.png $PACKAGEPATH/data/
2010-12-14 06:14:43 -05:00
cp -r data/tree_top.png $PACKAGEPATH/data/
2010-12-22 09:30:23 -05:00
cp -r data/coalstone.png $PACKAGEPATH/data/
cp -r data/crack.png $PACKAGEPATH/data/
2010-12-24 19:48:17 -05:00
cp -r data/wood.png $PACKAGEPATH/data/
cp -r data/stick.png $PACKAGEPATH/data/
cp -r data/tool_wpick.png $PACKAGEPATH/data/
cp -r data/tool_stpick.png $PACKAGEPATH/data/
cp -r data/tool_mesepick.png $PACKAGEPATH/data/
cp -r data/grass_side.png $PACKAGEPATH/data/
cp -r data/lump_of_coal.png $PACKAGEPATH/data/
cp -r data/lump_of_iron.png $PACKAGEPATH/data/
cp -r data/mineral_coal.png $PACKAGEPATH/data/
cp -r data/mineral_iron.png $PACKAGEPATH/data/
cp -r data/sand.png $PACKAGEPATH/data/
2010-12-14 06:14:43 -05:00
2010-12-22 09:30:23 -05:00
#cp -r data/pauseMenu.gui $PACKAGEPATH/data/
2010-11-26 18:02:21 -05:00
cp -r doc/README.txt $PACKAGEPATH/doc/README.txt
2011-07-21 02:36:30 -04:00
cp -r locale/de/LC_MESSAGES/$PROJECT_NAME.mo $PACKAGEPATH/locale/de/LC_MESSAGES/
2010-11-26 18:02:21 -05:00
cd $PACKAGEDIR
rm $PACKAGENAME.zip
zip -r $PACKAGENAME.zip $PACKAGENAME