talimat 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # Tanım: Çapraz platform, üç boyutlu ve tarihsel temelli gerçek zamanlı strateji oyunu
  2. # URL: http://play0ad.com/
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: binutils boost curl 0ad-data libogg libpng libvorbis libxml2 openal sdl2 wxgtk zlib xorg-glu miniupnpc icu nspr cmake xorg-mesa python xorg-libsm gloox enet
  5. # Grup: oyun
  6. isim=0ad
  7. surum=a22
  8. devir=1
  9. kaynak=(https://sourceforge.net/projects/zero-ad/files/releases/0ad-0.0.22-alpha-unix-build.tar.xz
  10. update-workspaces.sh)
  11. derle() {
  12. cp update-workspaces.sh $SRC/$isim-0.0.22-alpha/build/workspaces/
  13. cd "$SRC/$isim-0.0.22-alpha/"
  14. sed -i "s/env python/env python2/g" libraries/source/cxxtest-4.4/bin/cxxtestgen
  15. cd build/workspaces
  16. unset CPPFLAGS # for le spidermonkey
  17. # sed "/^2/,/13$/d" update-workspaces.sh
  18. ./update-workspaces.sh \
  19. --bindir=/usr/bin \
  20. --libdir=/usr/lib/0ad \
  21. --datadir=/usr/share/${isim}/data
  22. cd gcc
  23. make
  24. cd $SRC
  25. install -d "${PKG}"/usr/{bin,lib/0ad,share/"${isim}"/data}
  26. cd "$SRC/$isim-0.0.22-alpha"
  27. install -Dm755 binaries/system/pyrogenesis "${PKG}/usr/bin"
  28. install -Dm755 binaries/system/*.so "${PKG}/usr/lib/0ad"
  29. cp -r binaries/data/l10n/ ${PKG}/usr/share/${isim}/data/
  30. install -Dm755 build/resources/${isim}.sh "${PKG}/usr/bin/${isim}"
  31. install -Dm644 build/resources/${isim}.desktop \
  32. "${PKG}/usr/share/applications/${isim}.desktop"
  33. install -Dm644 build/resources/${isim}.png \
  34. "${PKG}/usr/share/pixmaps/${isim}.png"
  35. }