blob: e060ead17a82db80f309d96836d612717257b74e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $Id: PKGBUILD 47322 2011-05-21 17:35:38Z jelle $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=xboard
pkgver=4.5.2
pkgrel=1
pkgdesc="A graphical user interfaces for chess"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gnu.org/software/xboard/"
license=('GPL3')
depends=('libxaw' 'gnuchess' 'texinfo' 'xdg-utils')
install=${pkgname}.install
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
'xboard.desktop')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's/fairymax/gnuchess/' xboard.h
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
install -Dm644 ${srcdir}/${pkgname}.desktop \
${pkgdir}/usr/share/applications/${pkgname}.desktop
}
md5sums=('2fa92fceeda344ef935bc97bef5f9fc5'
'1d9d4a7864465a703fe4a215e83f4806')
|