desktop/gnuchess/PKGBUILD

30 lines
721 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=gnuchess
pkgver=5.08
pkgrel=1
pkgdesc="Lets most modern computers play a full game of chess."
url="http://www.gnu.org/software/chess/chess.html"
arch=('i686' 'x86_64')
license=('GPL')
depends=('glibc' 'ncurses' 'readline')
source=(ftp://ftp.gnu.org/pub/gnu/chess/$pkgname-$pkgver.tar.gz)
md5sums=('9db91dbac6b5b86de0c57a420a9fea57')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make prefix=$pkgdir/usr install
}