talimat 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Tanım: Quake 3 Motoruna dayalı bir takım tabanlı taktik atıcı
  2. # URL: http://www.urbanterror.info
  3. # Paketçi: Cihan_Alkan
  4. # Gerekler: sdl openal xorg-mesa
  5. # Grup: oyun
  6. isim=urbanterror
  7. surum=4.3.2
  8. devir=1
  9. kaynak=(http://www.happyurtday.com/releases/4x/UrbanTerror${surum//.}_full.zip
  10. https://github.com/Barbatos/ioq3-for-UrbanTerror-4/releases/download/release-4.3.2-hotfix/Quake3-UrT-Ded.x86_64
  11. https://github.com/Barbatos/ioq3-for-UrbanTerror-4/releases/download/release-4.3.2-hotfix/Quake3-UrT.x86_64
  12. urbanterror.sh
  13. urbanterror-server.sh
  14. urbanterror.desktop
  15. urbanterror.png)
  16. derle() {
  17. install -d "${PKG}/opt/urbanterror"
  18. cd "${PKG}/opt/urbanterror"
  19. # Copy patched binaries.
  20. install -m755 "${SRC}/Quake3-UrT.x86_64" urbanterror
  21. install -m755 "${SRC}/Quake3-UrT-Ded.x86_64" urbanterror-ded
  22. # Copy data
  23. cp -r "${SRC}/UrbanTerror43/q3ut4" "${PKG}/opt/urbanterror/q3ut4"
  24. install -Dm644 "${SRC}/UrbanTerror43/q3ut4/readme43.txt" "${PKG}/usr/share/licenses/${isim}/LICENSE"
  25. echo -e "\nseta cl_cURLLib \"/usr/lib/libcurl.so.4\"" >> "${PKG}/opt/urbanterror/q3ut4/autoexec.cfg"
  26. # Copy desktop launcher.
  27. install -Dm644 "${SRC}/urbanterror.desktop" "${PKG}/usr/share/applications/urbanterror.desktop"
  28. install -Dm644 "${SRC}/urbanterror.png" "${PKG}/usr/share/pixmaps/urbanterror.png"
  29. # Copy launch scripts.
  30. install -Dm755 "${SRC}/urbanterror.sh" "${PKG}/usr/bin/urbanterror"
  31. install -Dm755 "${SRC}/urbanterror-server.sh" "${PKG}/usr/bin/urbanterror-server"
  32. }