updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / gnuchess-book / PKGBUILD
blob32a2f734c6e1aaca34cff087b87832920dfc95aa
1 # Contributor: Ermanno <erm67@yahoo.it>
2 pkgname=gnuchess-book
3 pkgver=1.02
4 pkgrel=1
5 arch=('i686' 'x86_64')
6 pkgdesc="Openings book for gnuchess"
7 url="http://www.gnu.org/software/chess"
8 license="GPL"
9 depends=('gnuchess' )
10 makedepends=('expect' )
11 install=(gnuchess-book.install)
12 source=("http://ftp.gnu.org/pub/gnu/chess/book_$pkgver.pgn.gz" \
13         expect.sh)
14 md5sums=('e382f5774f050efc79a08baa083eba79'
15          '42788ffda5a5f114525ac4a2328bf732')
17 build() {
18         cd $srcdir
19         expect -f expect.sh|| die 1
20         mkdir -p $pkgdir/usr/share/gnuchess/
21         install -m644 $srcdir/book.bin $pkgdir/usr/share/gnuchess/book-big.bin
22