You are not logged in.

#1 2008-03-14 00:00:40

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,410

Doppelkopf - Free-Doko - Cardgame

I have very little spare time, and therefore quit maintaining packages in aur some time ago.

But, as I found a very nice and smart Doppelkopf cardgame for Linux, I thought someone would like to make a package of it. The game is really worth a try, if you know Doppelkopf.

http://free-doko.sourceforge.net/en/


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#2 2008-03-14 20:10:53

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: Doppelkopf - Free-Doko - Cardgame

Hey,  I like to play Doppelkopf. smile

I've made a PKGBUILD and uploaded it to AUR.


My skills are not very high.
The PKGBUILD creates the script freedoko in /usr/bin/

#!/bin/sh
cd /usr/share/freedoko-0.7.4
exec ./FreeDoko
cd -

I did it because FreeDoko does only work if it's started from within the directory which contains the FreeDoko binary.
( /usr/share/freedoko-0.7.4 )

I think thats not very elegantly. So, if anybody has a better solution, let me know....

Offline

#3 2008-03-14 21:46:44

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Doppelkopf - Free-Doko - Cardgame

Few comments on PKGBUILD:
-remove freedoko.install from the sources. The .install files don't need to be in the source array. The 'install=' field takes care of them.
-It would be better to have the script in a seperate file which gets included in the source array and installed.
- don't use a specific sourceforge mirror.

The rest looks good. Using a script here is a the best way to handle  these kind of apps.

Offline

#4 2008-03-14 21:58:17

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: Doppelkopf - Free-Doko - Cardgame

ok,

Which sourceforge url is used for a nonspecific mirror?

is it http://downloads.sourceforge.net/..... ?

Offline

#5 2008-03-14 22:12:35

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Doppelkopf - Free-Doko - Cardgame

SiD wrote:

ok,

Which sourceforge url is used for a nonspecific mirror?

is it http://downloads.sourceforge.net/..... ?

yes

Offline

#6 2008-03-14 22:14:23

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Doppelkopf - Free-Doko - Cardgame

Also the :

op=$1
shift

$op "$@"

in the .install file are no longer necessary.

Offline

#7 2008-03-14 22:18:50

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: Doppelkopf - Free-Doko - Cardgame

ok, one last qustion.

Should I name the script freedoko.sh and install it as freedoko. Or just name it freedoko?

edit:
I made the changes you mentioned and uploadedthe new PKGBUILD.

Last edited by SiD (2008-03-15 18:10:56)

Offline

Board footer

Powered by FluxBB