milis/talimatname/genel/q/qtchess/talimat

24 lines
682 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: qt tabanlı P2P satranç oyunu
# URL: http://qtchess.sourceforge.net/
# Paketçi: milisarge
# Gerekler: qt5
2018-07-30 14:02:11 +02:00
# Grup: oyun
2018-06-09 00:06:58 +02:00
isim=qtchess
surum=20160904
_surum=2016.09.04
devir=1
kaynak=(https://github.com/textbrowser/qtchess/archive/v${_version}.tar.gz
qtchess.desktop)
derle() {
cd "$isim-$_version"
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"
install -Dm644 $SRC/qtchess.desktop -- "${PKG}/usr/share/applications/${isim}.desktop"
install -Dm644 Images/chess.png -- "${PKG}/usr/share/icons/hicolor/48x48/$isim.png"
}