talimat 669 B

1234567891011121314151617181920212223
  1. # Tanım: qt tabanlı P2P satranç oyunu
  2. # URL: http://qtchess.sourceforge.net/
  3. # Paketçi: milisarge
  4. # Gerekler: qt5
  5. isim=qtchess
  6. surum=20160904
  7. _surum=2016.09.04
  8. devir=1
  9. kaynak=(https://github.com/textbrowser/qtchess/archive/v${_version}.tar.gz
  10. qtchess.desktop)
  11. derle() {
  12. cd "$isim-$_version"
  13. qmake-qt5 -o Makefile qtchess.pro
  14. sed -i s_'-Werror'__g Makefile # stack protector is not proctecting small arrays
  15. make
  16. install -Dm755 QtChess -- "${PKG}/usr/bin/qtchess"
  17. install -Dm644 $SRC/qtchess.desktop -- "${PKG}/usr/share/applications/${isim}.desktop"
  18. install -Dm644 Images/chess.png -- "${PKG}/usr/share/icons/hicolor/48x48/$isim.png"
  19. }