You are not logged in.

#1 2004-05-21 21:36:07

janwil
Member
From: Tartu, Estonia
Registered: 2003-08-15
Posts: 88

Six: a Hex game for KDE

Hi all,

Since Six is the current world champion among Hex programs, Arch users might want to enjoy it. The almost standard PKGBUILD:

#Packaged by Jan Willemson <janwil@hot.ee>
pkgname=six
pkgver=0.5.1
pkgrel=1
pkgdesc="A Hex program for KDE"
url="http://six.retes.hu/"
depends=(kdelibs)
conflicts=()
backup=()
install=
source=(http://six.retes.hu/download/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  patch $startdir/src/$pkgname-$pkgver/six/vec.h $startdir/vec.h.patch
  make || return 1
  make prefix=$startdir/pkg/usr install
}

Due to a small typo it also needs the vec.h.patch in order to get compiled with gcc 3.4.0:

372c372
<   Vec<T> r(_v.size());
---
>   Vec<T> r(v.size());
374c374
<     r[i] = t * _v[i];
---
>     r[i] = t * v[i];

Have fun:)

Jan

Offline

Board footer

Powered by FluxBB