12345678910111213141516171819202122232425262728293031323334353637 |
- # Tanım: Hızlı tempolu ekip tabanlı dış alan çok oyunculu muharebe oyunu
- # URL: http://bitfighter.org/
- # Paketçi: milisarge
- # Gerekler: cmake xorg-glu sdl2 libpng libvorbis libmodplug openal speex
- # Grup: oyun
- isim=bitfighter
- surum=0.19f
- devir=1
- kaynak=(http://bitfighter.org/files/bitfighter-${version/./}.tar.gz
- https://bitfighter.org/files/classic_level_pack.zip
- bitfighter.png
- bitfighter.desktop)
- derle() {
- cd ${isim}-${version/./}
- mkdir -p build
- cd build
- cmake \
- -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
- -DUSE_SDL2:BOOL=YES \
- -DUSE_GLES:BOOL=YES \
- -DCMAKE_BUILD_TYPE=Release \
- ..
- make VERBOSE=1
- # install game ressources and executable
- install -d "$PKG"/usr/share/$isim "$PKG"/usr/bin
- cd ..
- cp "${SRC}"/classic_level_pack/* resource/
- cp notifier/gci/bitfighter.ini resource/
- cp -r resource/* "$PKG"/usr/share/$isim
- install -m755 exe/$isim "$PKG"/usr/bin/$isim
- # install a desktop entry
- install -Dm644 ../$isim.png "$PKG"/usr/share/pixmaps/$isim.png
- install -Dm644 ../$isim.desktop "$PKG"/usr/share/applications/$isim.desktop
- }
|