diff --git a/srcpkgs/xboard/template b/srcpkgs/xboard/template new file mode 100644 index 0000000000..09ea8f040a --- /dev/null +++ b/srcpkgs/xboard/template @@ -0,0 +1,23 @@ +# Template file for 'xboard' +pkgname=xboard +version=4.7.3 +revision=1 +build_style=gnu-configure +configure_args="--with-gtk --enable-zippy" +hostmakedepends="pkg-config" +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="Christian Neukirchen " +license="GPL-3" +homepage="http://www.gnu.org/software/xboard/" +distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=7fd0b03f53dad57c587bc3438459612e2455534f715cfb0e637b6290f34cbeaa + +post_extract() { + sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf.in +} + +post_install() { + vbin cmail +}