teeworlds: 0.4.3 -> 0.5.0
This commit is contained in:
parent
6ca47264bc
commit
cabe4a1d35
@ -5,6 +5,8 @@ drwxr-xr-x root/root usr/bin/
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/applications/
|
||||
-rw-r--r-- root/root usr/share/applications/teeworlds.desktop
|
||||
drwxr-xr-x root/root usr/share/pixmaps/
|
||||
-rw-r--r-- root/root usr/share/pixmaps/gui_tee.png
|
||||
drwxr-xr-x root/root usr/share/teeworlds/
|
||||
drwxr-xr-x root/root usr/share/teeworlds/data/
|
||||
drwxr-xr-x root/root usr/share/teeworlds/data/audio/
|
||||
@ -35,6 +37,9 @@ drwxr-xr-x root/root usr/share/teeworlds/data/audio/
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/hook_attach-03.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/hook_loop-01.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/hook_loop-02.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/hook_noattach-01.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/hook_noattach-02.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/hook_noattach-03.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/sfx_ctf_cap_pl.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/sfx_ctf_drop.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/sfx_ctf_grab_en.wv
|
||||
@ -134,6 +139,7 @@ drwxr-xr-x root/root usr/share/teeworlds/data/audio/
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/wp_switch-01.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/wp_switch-02.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/audio/wp_switch-03.wv
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/blob.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/browse_icons.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/console.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/console_bar.png
|
||||
@ -190,13 +196,20 @@ drwxr-xr-x root/root usr/share/teeworlds/data/fonts/
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/game.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/gui_cursor.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/gui_logo.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/gui_tee.png
|
||||
drwxr-xr-x root/root usr/share/teeworlds/data/mapres/
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/bg_cloud1.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/bg_cloud2.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/bg_cloud3.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/desert_main.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/desert_mountains.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/desert_sun.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/generic_unhookable.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/grass_doodads.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/grass_main.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/jungle_doodads.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/jungle_main.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/jungle_night.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/jungle_night2.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/moon.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/mountains.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/mapres/snow.png
|
||||
@ -207,9 +220,15 @@ drwxr-xr-x root/root usr/share/teeworlds/data/mapres/
|
||||
drwxr-xr-x root/root usr/share/teeworlds/data/maps/
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/ctf1.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/ctf2.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/ctf3.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/ctf4.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/ctf5.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/dm1.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/dm2.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/dm6.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/dm7.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/dm8.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/maps/dm9.map
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/particles.png
|
||||
drwxr-xr-x root/root usr/share/teeworlds/data/skins/
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/skins/bluekitty.png
|
||||
@ -229,3 +248,5 @@ drwxr-xr-x root/root usr/share/teeworlds/data/skins/
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/skins/twintri.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/skins/warpaint.png
|
||||
-rw-r--r-- root/root usr/share/teeworlds/data/skins/x_ninja.png
|
||||
-rwxr-xr-x root/root usr/share/teeworlds/teeworlds
|
||||
-rwxr-xr-x root/root usr/share/teeworlds/teeworlds_srv
|
||||
|
@ -1,4 +1,6 @@
|
||||
dd1937ce711927299a1b09edffa319ca bam.zip
|
||||
d4efe74591a73c1cec8b34d76ffd1049 bam-0.2.0.tar.gz
|
||||
7a42409f7d48f38c13954f33505246e4 gui_tee.png
|
||||
a31a8cbd1af3f71a462122166e5872d6 teeworlds-0.4.3-src.tar.gz
|
||||
e05fde1597d196a6dc153c3a87bc8732 teeworlds.desktop
|
||||
39d7b5d41c2c7250201214a4ab6844ed teeworlds-0.5.0-src.tar.gz
|
||||
d9c5f78a216aede27e061dc9ca00525e teeworlds.bash
|
||||
136a86ee7569cfae0dd239c2da487ab0 teeworlds.desktop
|
||||
764b0ba44db4b0a9175663096e9ba2ef teeworlds_srv.bash
|
||||
|
@ -4,29 +4,29 @@
|
||||
# Depends on: mesa3d alsa-lib xorg-libx11 python
|
||||
|
||||
name=teeworlds
|
||||
version=0.4.3
|
||||
version=0.5.0
|
||||
_bamver=0.2.0
|
||||
release=1
|
||||
source=(http://www.$name.com/files/$name-$version-src.tar.gz
|
||||
http://www.$name.com/files/bam.zip
|
||||
gui_tee.png
|
||||
$name.desktop)
|
||||
http://maxiq.ovh.org/CRUX/bam-$_bamver.tar.gz
|
||||
gui_tee.png $name.desktop $name.bash ${name}_srv.bash)
|
||||
|
||||
build() {
|
||||
mkdir -p $PKG/usr/share/$name
|
||||
cd bam
|
||||
./make_unix.sh $LDFLAGS $CFLAGS
|
||||
|
||||
# build bam
|
||||
cd bam-$_bamver
|
||||
./make_unix.sh $CFLAGS
|
||||
# build teeworlds
|
||||
cd $SRC/$name-$version-src
|
||||
sed -i 's|data/|/usr/share/teeworlds/data/|g' $(fgrep -Rl '"data/' *)
|
||||
sed -i -e "/cc.flags/s/=.*/= \"$CFLAGS\"/" \
|
||||
-e "/linker.flags/s|\"\"|\"$LDFLAGS\"|" \
|
||||
-e '/release_settings.cc.optimize/s/1/0/' default.bam
|
||||
../bam/src/bam -v server_release client_release
|
||||
|
||||
install -D -m 0755 $name $PKG/usr/bin/$name
|
||||
install -m 0755 ${name}_srv $PKG/usr/bin
|
||||
# everytime developer chooses bam for his project, god kills a kitten
|
||||
sed -i "/settings\.cc\.flags:Add(\"-Wall\", \"-fno-exceptions\")/s|)|, \"$CFLAGS\" )|" default.bam
|
||||
../bam-$_bamver/src/bam release
|
||||
install -m 0755 $name ${name}_srv $PKG/usr/share/$name
|
||||
cp -r data $PKG/usr/share/$name
|
||||
cd ..
|
||||
|
||||
cd $SRC
|
||||
install -D -m 0644 $name.desktop $PKG/usr/share/applications/$name.desktop
|
||||
install -m 0644 gui_tee.png $PKG/usr/share/$name/data/gui_tee.png
|
||||
install -D -m 0644 gui_tee.png $PKG/usr/share/pixmaps/gui_tee.png
|
||||
install -D -m 0755 $name.bash $PKG/usr/bin/$name
|
||||
install -m 0755 ${name}_srv.bash $PKG/usr/bin/${name}_srv
|
||||
}
|
||||
|
5
teeworlds/teeworlds.bash
Normal file
5
teeworlds/teeworlds.bash
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /usr/share/teeworlds
|
||||
exec ./teeworlds $*
|
||||
|
@ -2,7 +2,7 @@
|
||||
Name=TeeWorlds
|
||||
Comment=multiplayer 2D shooter
|
||||
Exec=teeworlds
|
||||
Icon=/usr/share/teeworlds/data/gui_tee.png
|
||||
Icon=/usr/share/pixmaps/gui_tee.png
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Game;
|
||||
|
5
teeworlds/teeworlds_srv.bash
Normal file
5
teeworlds/teeworlds_srv.bash
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /usr/share/teeworlds
|
||||
exec ./teeworlds_srv $*
|
||||
|
Loading…
x
Reference in New Issue
Block a user