talimat 682 B

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