1 # Maintainer: kfgz <kfgz at interia dot pl>
2 # Contributor: Andrea Scarpino <andrea at archlinux dot org>
3 # Contributor: Jason Chu <jason at archlinux dot org>
4 # Contributor: Thomas Zervogiannis <tzervo at gmail dot com>
9 pkgdesc="A chess interface to ICS and chess engines"
10 url="http://www.bergo.eng.br/eboard/"
11 arch=('i686' 'x86_64')
12 depends=('gtk2' 'libpng')
15 source=(${pkgname}-${pkgver}.tar.bz2::http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2/download
19 md5sums=('03dcdaa2bc85218b1b18c4bee276fea7'
20 '9c933f467c8482624fa9f9e56901b456'
21 '2cf1bd8f4623be7540c0f2386baf355e'
22 '0a4e70bcda6aaf06f4290cfbea730114')
25 cd "${srcdir}"/${pkgname}-${pkgver}
26 patch -Np0 -i "${srcdir}"/gcc-4.4.patch
27 ./configure --prefix=/usr --man-prefix=/usr/share/man --extra-libs=dl
32 cd "${srcdir}"/${pkgname}-${pkgver}
33 make DESTDIR="${pkgdir}" install
34 install -d "${pkgdir}"/usr/share/{pixmaps,applications}
35 install -m644 "${srcdir}"/eboard.desktop "${pkgdir}"/usr/share/applications
36 install -m644 "${srcdir}"/eboard.png "${pkgdir}"/usr/share/pixmaps