You are not logged in.

#1 2009-08-05 18:17:29

luuuciano
Member
Registered: 2007-01-27
Posts: 311

problem wth JAM (making a skyscrapers pkgbuild)

I am using this:
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Contributor: Your Name <youremail@domain.com>
pkgname=skyscraper
pkgver=20alpha41
pkgrel=1
pkgdesc="Skyscraper aims to be a fully-featured, modular, 3D realtime building simulator, powered by the Scalable Building Simulator (SBS) engine."
arch=('i686' 'x86_64')
url="http://www.skyscrapersim.com/"
license=('GPL')
depends=('crystalspace')
makedepends=('jam')
optdepends=()
source=(http://downloads.sourceforge.net/project/skyscraper/Skyscraper/2.0a4.1/$pkgname$pkgver.tar.gz)
md5sums=(7325eadcdf8c42264fdddffb197f6aaf)

build() {
  cd "$srcdir/$pkgname"

  ./configure --prefix=/usr
  make || return 1
  make DESTDIR="$pkgdir/" install
}


and having this JAM issue: http://pastebin.ca/1519472

my system have ftjam installed:
Name           : ftjam
Version        : 2.5.3rc2-1
URL            : http://freetype.org/jam/
Licenses       : custom
Groups         : None
Provides       : jam
Depends On     : glibc
Optional Deps  : None
Required By    : None
Conflicts With : jam
Replaces       : jam
Installed Size : 122.44 K
Packager       : Roman Kyrylych <roman@archlinux.org>
Architecture   : i686
Build Date     : Wed Oct 31 09:49:06 2007
Install Date   : Tue Aug 4 16:28:23 2009
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : FT Jam - an enhanced version of the Jam build tool


any idea?


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#2 2009-08-05 23:42:36

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

Re: problem wth JAM (making a skyscrapers pkgbuild)

you need to use jam, not make. i.e. replace
  make || return 1
  make DESTDIR="$pkgdir/" install
by:
  jam || return 1
  jam -sprefix="${pkgdir}/usr" install || return 1

Offline

#3 2009-08-06 03:03:15

luuuciano
Member
Registered: 2007-01-27
Posts: 311

Re: problem wth JAM (making a skyscrapers pkgbuild)

oh, thanks a lot snowman!

but anyway, I could not make work any of the crystalspace pkgbuilds in aur... (just the 1.2 version, but skyscrapers needs 1.4)


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#4 2009-08-07 23:50:27

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: problem wth JAM (making a skyscrapers pkgbuild)

Hello luuuciano!

1. You can use shorter describtion in PKGBUILD without the name of package. You can check it with namcap on PKGBUILD, and *.pkg.tar.gz too.

2. ou can remove this blank line: optdepends=()

3. What's your problem with 1.4. crystalplace?

Offline

#5 2009-08-13 18:25:07

luuuciano
Member
Registered: 2007-01-27
Posts: 311

Re: problem wth JAM (making a skyscrapers pkgbuild)

well, the problem was in cal3d-svn, a dependency of cristalspace-1.4branch-svn....

here is the output: http://pastebin.ca/1528369

Last edited by luuuciano (2009-08-13 18:25:55)


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

Board footer

Powered by FluxBB