This package was orphaned, so I have taken it over, completely rewriting the PKGBUILD, moving the 'wordbiz' script out of PKGBUILD, rewriting 'wordbiz' scrip (no more hardcoded home directory), and added a desktop file so it shows up in menus.
Search Criteria
Package Details: wordbiz 1.8.7-2
Package Actions
| Package Base: | wordbiz |
|---|---|
| Description: | Internet Scrabble Club client |
| Upstream URL: | http://www.isc.ro |
| Category: | games |
| Licenses: | |
| Submitter: | xrchz |
| Maintainer: | colinkeenan |
| Last Packager: | colinkeenan |
| Votes: | 13 |
| First Submitted: | 2009-03-14 22:18 |
| Last Updated: | 2014-12-09 19:36 |
Latest Comments
Comment by colinkeenan
Comment by xpixelz
Please fix hardcoded home directory :
% wordbiz
/usr/bin/wordbiz: line 2: cd: /home/biginoz: No such file or directory
It should read "cd ${HOME}" or something in that way.
Comment by biginoz
updated
Comment by cedl38
fail to build. log :
==> Validation des fichiers sources avec md5sums…
WordBiz18linux.zip ... ÉCHEC
This package is probably out of date.
to fix edit PKBUILD and replace pkgver and md5sums with :
pkgver=1.8.7
pkgrel=1
md5sums=('dd3c078f758196606e21430ac248b8d5')
Comment by biginoz
Yes it's a mistake for comment, but in PKGBUILD I wrote if [ ! -d .WordBiz ]
Comment by habiloid
Shouldn't it be:
if [ ! -d .WordBiz ]
Otherwise directory won't be created
Comment by biginoz
updated
Comment by xrchz
You can take this package over and submit the new config-saving PKGBUILD if you want; I disowned because I don't use it any more.
Comment by biginoz
To save the configuration, can you make PKGBUILD like that? (the Config file will be created in ~/.WordBiz)
build() {
mkdir -p $pkgdir/opt
cp -r $srcdir/WordBiz $pkgdir/opt
mkdir -p $pkgdir/usr/bin
cat <<END > $pkgdir/usr/bin/wordbiz
#!/bin/sh
cd /home/$USER
if [ -d .WordBiz ]; then
mkdir .WordBiz
fi
cd .WordBiz
java -jar /opt/WordBiz/wordbiz.jar
END
chmod +x $pkgdir/usr/bin/wordbiz
chgrp games $pkgdir/opt/WordBiz || return 1
chmod g+w $pkgdir/opt/WordBiz
}