Name gnuchess
Description Play chess against the computer on a terminal and an engine for graphical chess frontends
Version 6.3.0-1
Package Base gnuchess
Homepage https://www.gnu.org/software/chess/chess.html
Maintainers ['Jonathan Steel <jsteel@archlinux.org>']
Contributors ['Allan McRae <allan@archlinux.org>', 'Tom Newsom <Jeepster@gmx.co.uk>']
Distro-repo https://gitlab.archlinux.org/archlinux/packaging/packages/gnuchess
Sources ['https://ftp.gnu.org/pub/gnu/chess/gnuchess-6.3.0.tar.gz', 'https://ftp.gnu.org/pub/gnu/chess/gnuchess-6.3.0.tar.gz.sig']
Dependencies ['bash']
Optional-Dependencies ['xboard']
Build-Dependencies []
Provides []
Builddate 28-09-2025 09:29:54
Architecture x86_64
Distro-Version
Licenses ['GPL3']
Hash e11b490ff6cce897ab83a91fd77e01ea86f044640bdefe88e3a7f5b71b2e89ad
# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=gnuchess
pkgver=6.3.0
pkgrel=1
pkgdesc="Play chess against the computer on a terminal and an engine for graphical chess frontends"
arch=('x86_64')
url="https://www.gnu.org/software/chess/chess.html"
license=('GPL3')
depends=('bash')
optdepends=('xboard: graphical frontend')
source=(https://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz
        https://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz.sig)
validpgpkeys=('34319C9B50B8D2176F5556C543AC7FF93CED5A6B')
md5sums=('2d0710b0f817c7689bf1764101c32ef4'
         'SKIP')
sha256sums=('0b37bec2098c2ad695b7443e5d7944dc6dc8284f8d01fcc30bdb94dd033ca23a'
            'SKIP')

prepare() {
  cd $pkgname-$pkgver
  autoreconf -fiv
}

build() {
  cd $pkgname-$pkgver

  ./configure --prefix=/usr

  make  
}

package() {
  cd $pkgname-$pkgver

  make prefix="$pkgdir"/usr install
}