1 # Contributor: Enrico Morelli <morelli@cerm.unifi.it>
6 pkgdesc="Phalanx is a chess engine which understands the xboard protocol. It's suitable for beginner and intermediate players"
8 url="http://phalanx.sourceforge.net/"
10 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/Phalanx-$_mypkgver.tar.gz makefile.patch phalanx.h.patch)
11 md5sums=('24657c063f5fda57e70130483bd45cd0'
12 '3f6224a90afae11c1f0cdb4223dec770'
13 'c9888466975639cedd443041b8c1d282')
17 cd $startdir/src/Phalanx-$_mypkgver
18 patch < ../makefile.patch
19 patch < ../phalanx.h.patch
21 install -d $startdir/pkg/usr/share/phalanx
22 install -D -m0644 $startdir/src/Phalanx-$_mypkgver/learn.phalanx $startdir/pkg/usr/share/phalanx/learn.phalanx
23 install -D -m0644 $startdir/src/Phalanx-$_mypkgver/pbook.phalanx $startdir/pkg/usr/share/phalanx/pbook.phalanx
24 install -D -m0644 $startdir/src/Phalanx-$_mypkgver/sbook.phalanx $startdir/pkg/usr/share/phalanx/sbook.phalanx
25 install -D $startdir/src/Phalanx-$_mypkgver/phalanx $startdir/pkg/usr/bin/phalanx