You are not logged in.
Pages: 1
Surprised to find that this was not available, I tried to package it myself, but it fails miserably, and I'm not man enough to understand why. Surely, there must be some Archer who wants to play a game of shogi once in a while...?
Offline
post the pkgbuild you have and a link to the packages website
Offline
I had some problems finding an up-to-date tarball. The version available on most gnu ftp servers (1.3) would not compile, but there is a maintainance release 1.3.2 here: http://www.cs.caltech.edu/~mvanier/hack … 3.2.tar.gz. Initially, it would not download, and wget gave the error message:
Resolving www.cs.caltech.edu... failed: Temporary failure in name resolution.
But eventually I got it home, somehow. That's why the pkgbuild below uses a local file.
I've managed to compile/make/make install the program, and it works fine, but makepkg ends up like this:
==> Removing info/doc files...
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Compressing package...
tar: *: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
==> Finished making: gnushogi (Sat Aug 12 12:24:01 CEST 2006)
and the outcome is a useless 500b package. I assume/suspect that makepkg removes some files which the program needs or something?, but I don't know how to check that or fix it.
here's the PKGBUILD:
pkgname=gnushogi
pkgver=1.3.2
pkgrel=1
pkgdesc="GNUShogi plays a game of japanese chess (shogi) against the user or against itself"
url="http://directory.fsf.org/gnushogi.html"
license=""
depends=()
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=($pkgname-$pkgver.tar.gz)
md5sums=('a18eae93afc89bfd368ed5f6768be791')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
Offline
this one works.....
pkgname=gnushogi
pkgver=1.3.2
pkgrel=1
pkgdesc="GNUShogi plays a game of japanese chess (shogi) against the user or against itself"
url="http://directory.fsf.org/gnushogi.html"
license=""
depends=('libxaw' 'termcap-compat')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://www.cs.caltech.edu/~mvanier/hacking/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('a18eae93afc89bfd368ed5f6768be791')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make prefix=$startdir/pkg/usr install
}
enjoy
Offline
Thanks!
May I ask you, for future reference: is that a general thing, that when I specify a prefix directory, the make install line will have to be changed too?
Offline
not all makefiles respect DESTDIR......
some need prefix some need seperate variables of their own, but thats where the clues are found
Offline
Pages: 1