diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/xboard/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/xboard/PKGBUILD')
-rw-r--r-- | community/xboard/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/xboard/PKGBUILD b/community/xboard/PKGBUILD new file mode 100644 index 000000000..cfadc0d02 --- /dev/null +++ b/community/xboard/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 42695 2011-03-19 21:22:32Z 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.1 +pkgrel=1 +pkgdesc="A graphical user interfaces for chess" +arch=('i686' 'x86_64') +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') +md5sums=('704cd7be87aada1f24c33e616b3ec2b5' + '1d9d4a7864465a703fe4a215e83f4806') + +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 +} |