milis/talimatname/genel/s/supertuxkart/talimat

31 lines
756 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: 3D kart yarış oyunu
2017-04-09 20:28:23 +02:00
# URL: http://supertuxkart.sourceforge.net/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake setconf bluez subversion xorg-mesa imagemagick openal libvorbis fribidi xorg-libxrandr xorg-glu
2017-04-09 20:28:23 +02:00
2017-10-28 14:10:23 +02:00
isim=supertuxkart
surum=0.9.2
devir=1
kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum-src.tar.xz)
2017-04-09 20:28:23 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd ${SRC}/supertuxkart-${surum}
2017-04-09 20:28:23 +02:00
2017-10-28 14:10:23 +02:00
_fn="data/${isim}.desktop"
setconf "$_fn" Exec "$isim"
setconf "$_fn" TryExec "$isim"
setconf "$_fn" Icon "$isim"_128
2017-04-09 20:28:23 +02:00
[[ -d build ]] && rm -r build
mkdir build && cd build
cmake .. \
-DIRRLICHT_DIR="$SRC/irrlicht" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_CXX_FLAGS="-lpthread -lm -ldl $CXXFLAGS -std=gnu++98"
make
make DESTDIR=${PKG} install
}