### this file is sourced not run

# source: SFR
PKGNAME=gnuchess
PKGVER=6.2.3
TARBALL=${PKGNAME}-${PKGVER}.tar.gz
MD5SUM=972f79d1f2e0c320f8beed8f2a8c10f8
SRC_URL=https://ftp.gnu.org/gnu/chess/${TARBALL}
BUNDLE=


SLACKDESC="${PKGNAME}: ${PKGNAME} ${PKGVER} (The GNU chess program)  
${PKGNAME}:  
${PKGNAME}: GNU Chess is a chess-playing program.
${PKGNAME}: It can be used to play chess against the computer
${PKGNAME}: on a terminal or, more commonly, as a chess
${PKGNAME}: engine for graphical chess frontends such as XBoard.
${PKGNAME}: 
${PKGNAME}: 
${PKGNAME}: 
${PKGNAME}: 
${PKGNAME}: 
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/${PKGNAME}* &&
	# Enable opening book by default
	sed -r -i 's/Book[ ]+=[ ]+false/Book = true/g' $CHROOT_DIR/tmp/${PKGNAME}*/src/gnuchess.ini
}

### default pkg_package
### default_pkg_build
