updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / eboard / PKGBUILD
blob8a1a354fffc56dca5315168148fc1cc56035889a
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>
6 pkgname=eboard
7 pkgver=1.1.1
8 pkgrel=4
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')
13 makedepends=('perl')
14 license=('GPL')
15 source=(${pkgname}-${pkgver}.tar.bz2::http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2/download
16         'eboard.desktop'
17         'eboard.png'
18         'gcc-4.4.patch')
19 md5sums=('03dcdaa2bc85218b1b18c4bee276fea7'
20         '9c933f467c8482624fa9f9e56901b456'
21         '2cf1bd8f4623be7540c0f2386baf355e'
22         '0a4e70bcda6aaf06f4290cfbea730114')
24 build() {
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
28    make
29 }   
31 package() {
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