You are not logged in.
Pages: 1
I started on a PKGBUILD for gnome-hearts, couldnt find an indication on it existing for Arch. Unfortunately it doesn't work. Seems to be some incompatibility on the lua library. Arch has latest 5.1.1 while gnome-hearts wants 5.0.
I however have no more time to work on it atm. It compiles installs but fails at runtime with an
PANIC: unprotected error in call to Lua API (no calling environment)
I think this is due to my attempt on getting it running with latest lua.
PKGBUILD
# Contributor: Tor Krill <tor>
pkgname=gnome-hearts
pkgver=0.1.1
pkgrel=1
pkgdesc="An implementation of the classic hearts card game for the GNOME desktop"
url="http://www.jejik.com/hearts"
license=""
depends=(lua libgnomeui)
makedepends=()
conflicts=()
replaces=()
backup=()
source=(http://www.jejik.com/files/gnome-hearts/$pkgname-$pkgver.tar.gz)
md5sums=('9be11e82361f22642f6139b8d550cb4a')
build() {
cd $startdir/src/$pkgname-$pkgver
LUA_CFLAGS=`pkg-config --cflags lua` LUA_LIBS=`pkg-config --libs lua`
./configure --prefix=/opt/gnome
sed -i -e "s/lua_dofile/luaL_dofile/g" src/*.c
make || return 1
make DESTDIR=$startdir/pkg install
find $startdir/pkg -name '*.la' -exec rm {} ;
}
Offline
Pages: 1