void-packages/srcpkgs/xboard/template

24 lines
722 B
Bash

# Template file for 'xboard'
pkgname=xboard
version=4.9.1
revision=2
build_style=gnu-configure
configure_args="--with-gtk --enable-zippy"
hostmakedepends="pkg-config perl"
makedepends="gtk+-devel cairo-devel librsvg-devel"
depends="gnuchess alsa-utils desktop-file-utils shared-mime-info hicolor-icon-theme"
short_desc="X graphical user interface for chess"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="http://www.gnu.org/software/xboard/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=2b2e53e8428ad9b6e8dc8a55b3a5183381911a4dae2c0072fa96296bbb1970d6
post_extract() {
sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf
}
post_install() {
vbin cmail
}