summaryrefslogtreecommitdiff
path: root/community/xboard/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /community/xboard/PKGBUILD
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'community/xboard/PKGBUILD')
-rw-r--r--community/xboard/PKGBUILD23
1 files changed, 14 insertions, 9 deletions
diff --git a/community/xboard/PKGBUILD b/community/xboard/PKGBUILD
index 51976d8e7..934b0caa3 100644
--- a/community/xboard/PKGBUILD
+++ b/community/xboard/PKGBUILD
@@ -1,25 +1,27 @@
-# $Id: PKGBUILD 66108 2012-02-23 01:07:34Z spupykin $
+# $Id: PKGBUILD 69790 2012-04-23 09:38:52Z spupykin $
# 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=4
-pkgdesc="A graphical user interfaces for chess"
+pkgver=4.6.2
+pkgrel=1
+pkgdesc="Graphical user interfaces for chess"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/xboard/"
license=('GPL3')
depends=('libxaw' 'gnuchess' 'texinfo' 'xdg-utils'
'xorg-fonts-75dpi' 'xorg-fonts-100dpi')
+makedepends=('gendesk')
install=${pkgname}.install
-source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz
- 'xboard.desktop')
-md5sums=('2fa92fceeda344ef935bc97bef5f9fc5'
- '1d9d4a7864465a703fe4a215e83f4806')
+source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('6e6d119fac60d68139d7836426212efb')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd "${srcdir}"
+ gendesk
+
+ cd "${pkgname}-${pkgver}"
sed -i 's/fairymax/gnuchess/g' xboard.h xboard.conf.in
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc
make
@@ -27,7 +29,10 @@ build() {
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
make DESTDIR="${pkgdir}" install
install -Dm644 ${srcdir}/${pkgname}.desktop \
${pkgdir}/usr/share/applications/${pkgname}.desktop
+ install -Dm644 ${srcdir}/${pkgname}.png \
+ ${pkgdir}/usr/share/pixmaps/${pkgname}.png
}