diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/xboard/PKGBUILD | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/xboard/PKGBUILD')
-rw-r--r-- | community/xboard/PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/community/xboard/PKGBUILD b/community/xboard/PKGBUILD new file mode 100644 index 000000000..b2ca19414 --- /dev/null +++ b/community/xboard/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 90592 2013-05-13 10:00:14Z 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.7.1 +pkgrel=1 +pkgdesc="Graphical user interfaces for chess" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/xboard/" +license=('GPL3') +depends=('gnuchess' 'texinfo' 'xdg-utils' + 'xorg-fonts-75dpi' 'xorg-fonts-100dpi' + 'gtk2' 'cairo' 'librsvg') +makedepends=('gendesk') +optdepends=('perl') +install=${pkgname}.install +source=("http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('e42383c4594c24ebf2f9fdc5dc89e255') + +build() { + cd "${srcdir}" + gendesk + + cd "${pkgname}-${pkgver}" + sed -i 's/fairymax/gnuchess/g' {xaw,gtk}/xboard.h xboard.conf.in + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --with-gtk + make +} + +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 + install -Dm755 ${srcdir}/${pkgname}-${pkgver}/cmail \ + ${pkgdir}/usr/bin/cmail +} |