1 # Maintainer: archtux <antonio.arias99999 at gmail.com>
6 pkgdesc="Chess program that can be used for playing against your computer and for viewing/editing your PGN files."
8 url="http://www.haundrix.com/"
10 depends=('java-runtime')
11 install=$pkgname.install
13 if [ "${CARCH}" = 'x86_64' ]; then
14 source=(http://www.haundrix.com/download/haundrix-0.1.0-Linux64bit.tar.gz
15 http://a.fsdn.com/con/icons/ha/haundrix@sf.net/knight.png)
16 md5sums=('e76aea8319596324faf8267522550ac6'
17 '11038b48bd30f9dba52145201c5d43d3')
18 elif [ "${CARCH}" = 'i686' ]; then
19 source=(http://www.haundrix.com/download/haundrix-0.1.0-Linux32bit.tar.gz
20 http://a.fsdn.com/con/icons/ha/haundrix@sf.net/knight.png)
21 md5sums=('4a72c308cf86ae323a1d6ce4bea3726b'
22 '11038b48bd30f9dba52145201c5d43d3')
28 mkdir -p $pkgdir/usr/share/haundrix-chess
29 cp -r haundrix/* $pkgdir/usr/share/haundrix-chess
31 install -Dm755 $pkgname $pkgdir/usr/bin/$pkgname
34 install -Dm644 knight.png $pkgdir/usr/share/pixmaps/$pkgname.png
35 install -Dm644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop