talimat 769 B

1234567891011121314151617181920212223242526272829303132
  1. # Tanım: 3D kart yarış oyunu
  2. # URL: http://supertuxkart.sourceforge.net/
  3. # Paketçi: milisarge
  4. # Gerekler: cmake setconf bluez subversion xorg-mesa imagemagick openal libvorbis fribidi xorg-libxrandr xorg-glu
  5. # Grup: oyun
  6. isim=supertuxkart
  7. surum=0.9.2
  8. devir=1
  9. kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum-src.tar.xz)
  10. derle() {
  11. cd ${SRC}/supertuxkart-${surum}
  12. _fn="data/${isim}.desktop"
  13. setconf "$_fn" Exec "$isim"
  14. setconf "$_fn" TryExec "$isim"
  15. setconf "$_fn" Icon "$isim"_128
  16. [[ -d build ]] && rm -r build
  17. mkdir build && cd build
  18. cmake .. \
  19. -DIRRLICHT_DIR="$SRC/irrlicht" \
  20. -DCMAKE_BUILD_TYPE=Release \
  21. -DCMAKE_INSTALL_PREFIX=/usr \
  22. -DCMAKE_CXX_FLAGS="-lpthread -lm -ldl $CXXFLAGS -std=gnu++98"
  23. make
  24. make DESTDIR=${PKG} install
  25. }