You are not logged in.

#1 2006-07-14 03:02:18

leif_thande
Member
Registered: 2005-07-09
Posts: 20

Questions for slune package

Hi all !

I just started working on the slune PKGBUILD since it is orphaned and a new version is out.
Here is the current state of my work :

pkgname=slune
pkgver=1.0.11
pkgrel=1
pkgdesc="A 3D racing and car-crashing game written in Python"
url="http://home.gna.org/oomadness/en/slune"
depends=('pysdl_mixer' 'cal3d' 'glew' 'soya' 'py2play' 'editobj' 'pyopenal' 'pyogg' 'pyvorbis')
makedepends=()
source=(http://download.gna.org/$pkgname/Slune-$pkgver.tar.bz2)
md5sums=('4334a26f9e1382e1d23540a47b04341a')

build() {
  cd $startdir/src/Slune-$pkgver
  python setup.py install --root=$startdir/pkg
  ln -s /usr/lib/libcal3d.so /usr/lib/libcal3d.so.11

}

My problem comes from the fact that libcal3d provides libcal3d.so.12 but not libcal3d.so.11 . I doubt creating a symlink the way I do is acceptable. Should I ask the libcal3d maintainer to create it ?

Do you see anything else that doesn't look correct ?
Thanks

Leif-[/code]

Offline

#2 2006-07-14 07:25:29

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

Re: Questions for slune package

Yes indeed the symlink is not acceptable. PKGBUILd should not install files directly on the system and it wouldn't work with fakeroot.
I don't understand the error you're getting. If you are building slune, it should use the libcal3d.so.12 on your system (unless it it doesn't work with the newest cal3d).  You'll probably get the error you're describing if you use the slune package in community repo.
Anyway, I plan to update slune sometime in the next few days.  So you can wait for the updated package in community.

EDIT: I've adopted and updated slune.

Offline

Board footer

Powered by FluxBB