2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: qt tabanlı P2P satranç oyunu
|
2017-03-31 02:47:00 +02:00
|
|
|
|
# URL: http://qtchess.sourceforge.net/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: qt5
|
2017-03-31 02:47:00 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=qtchess
|
|
|
|
|
surum=20160904
|
|
|
|
|
_surum=2016.09.04
|
|
|
|
|
devir=1
|
2017-03-31 02:47:00 +02:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
kaynak=(https://github.com/textbrowser/qtchess/archive/v${_version}.tar.gz
|
2017-03-31 02:47:00 +02:00
|
|
|
|
qtchess.desktop)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd "$isim-$_version"
|
2017-03-31 02:47:00 +02:00
|
|
|
|
qmake-qt5 -o Makefile qtchess.pro
|
|
|
|
|
sed -i s_'-Werror'__g Makefile # stack protector is not proctecting small arrays
|
|
|
|
|
make
|
|
|
|
|
install -Dm755 QtChess -- "${PKG}/usr/bin/qtchess"
|
2017-10-28 14:10:23 +02:00
|
|
|
|
install -Dm644 $SRC/qtchess.desktop -- "${PKG}/usr/share/applications/${isim}.desktop"
|
|
|
|
|
install -Dm644 Images/chess.png -- "${PKG}/usr/share/icons/hicolor/48x48/$isim.png"
|
2017-03-31 02:47:00 +02:00
|
|
|
|
}
|