mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: cutechess-gui-1.0.0
This commit is contained in:
parent
fe883cd611
commit
9a25be7753
2 changed files with 33 additions and 0 deletions
1
srcpkgs/cutechess-cli
Symbolic link
1
srcpkgs/cutechess-cli
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
cutechess-gui
|
32
srcpkgs/cutechess-gui/template
Normal file
32
srcpkgs/cutechess-gui/template
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# Template file for 'cutechess-gui'
|
||||||
|
pkgname=cutechess-gui
|
||||||
|
version=1.0.0
|
||||||
|
revision=1
|
||||||
|
build_style=qmake
|
||||||
|
hostmakedepends="qt5-qmake"
|
||||||
|
makedepends="qt5-devel qt5-svg-devel"
|
||||||
|
short_desc="GUI for playing chess"
|
||||||
|
maintainer="Imran Khan <imrankhan@teknik.io>"
|
||||||
|
license="GPL-3.0-or-later, MIT"
|
||||||
|
homepage="https://github.com/cutechess/cutechess"
|
||||||
|
distfiles="https://github.com/cutechess/cutechess/archive/gui-${version}.tar.gz"
|
||||||
|
checksum=b85967c225e70eed88c1b64d42542bdb21c8f3f52fd17765200073e390aaba04
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" qt5-host-tools qt5-devel qt5-svg-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
vbin projects/gui/cutechess
|
||||||
|
vinstall dist/linux/cutechess.desktop 644 usr/share/applications
|
||||||
|
sed -n '2,23s:^[ ]*::p' projects/gui/components/pgnhighlighter/src/pgnhighlighter.h > COPYING.gui
|
||||||
|
vlicense COPYING.gui
|
||||||
|
}
|
||||||
|
|
||||||
|
cutechess-cli_package() {
|
||||||
|
short_desc="CLI tool to automate chess engine tournaments"
|
||||||
|
pkg_install() {
|
||||||
|
vbin projects/cli/cutechess-cli
|
||||||
|
vman docs/cutechess-cli.6
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue