# Template file for 'gnushogi'
pkgname=gnushogi
version=1.4.2
revision=1
build_style=gnu-configure
short_desc="GNU Shogi (Japanese chess)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://www.gnu.org/software/gnushogi/"
distfiles="${GNU_SITE}/gnushogi/${pkgname}-${version}.tar.gz"
checksum=1ecc48a866303c63652552b325d685e7ef5e9893244080291a61d96505d52b29
disable_parallel_build=yes
nocross=yes

do_install() {
	make -C gnushogi prefix=${DESTDIR}/usr install
	vmkdir usr/share
	mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share/man
	mv ${DESTDIR}/usr/info ${DESTDIR}/usr/share/info
}
