1 # Maintainer: Auguste Pop <auguste [at] gmail [dot] com>
6 pkgdesc="A chess problem solving and testing software"
8 url="http://sourceforge.net/projects/popeye-chess/"
10 source=("http://downloads.sourceforge.net/$pkgname-chess/$pkgname-$pkgver-sources.zip"
12 md5sums=('881db669bd9f88d2f9485514d34c5ba9'
13 'cfcb6fcc9f6f05d96ecae2aeb1b604a0')
19 ln -s "$srcdir/gengmarr.c" .
20 sed -i '/py6.h/d' pymain.c
22 CFLAGS='-march=native -mtune=native' make -f makefile.unx
29 install -m 755 -D py "$pkgdir/usr/bin/py"
30 install -m 644 -D license.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
31 install -d "$pkgdir/usr/share/doc/$pkgname"
32 install -m 644 py-*.txt "$pkgdir/usr/share/doc/$pkgname"