You are not logged in.

#1 2007-08-04 23:35:37

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Please finish this rabbit PKGBUILD

Hi!, I'm trying to make a PKGBUILD for Rabbit, a presentation program. Right now this is what I have:

pkgname=rabbit
pkgver=0.5.3
pkgrel=1
pkgdesc="Presentation software that displays RD files"
arch=('i686')
url="http://www.cozmixng.org/~rwiki/?cmd=view;name=Rabbit"
license=('ruby')
depends=('ruby-gtk2' 'rdtool')
source=("http://www.cozmixng.org/~kou/download/$pkgname-$pkgver.tar.gz")
noextract=()

build() {
  cd $startdir/src/$pkgname-$pkgver
  ruby setup.rb all --prefix="$startdir/pkg/usr" 
}

however, it seems to need some patching or something because I run into

setup.rb:633:in `initialize': Permission denied - /usr/lib/ruby/site_ruby/1.8/hikidoc.rb (Errno::EACCES)

I dunno what to do. (btw note that I'm puting this in requests, that's cause I have not the slightest idea of what I'm doing here, otherwise I'd post it in pkgbuild support)

Offline

#2 2007-08-05 08:38:21

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Please finish this rabbit PKGBUILD

Look at setup.rb to get the right parameter - it obviously doesn't like --prefix.

Last edited by tomk (2007-08-05 08:38:37)

Offline

#3 2007-08-05 18:05:47

Phrodo_00
Member
From: Seattle, WA
Registered: 2006-04-09
Posts: 342
Website

Re: Please finish this rabbit PKGBUILD

tomk wrote:

Look at setup.rb to get the right parameter - it obviously doesn't like --prefix.

I understood that, the thing is that it seems it's a pretty standard script to install ruby things (I even found a page in the intertubes that went like "how to install software that comes with a setup.rb", and it actually uses the prefix to install the first things it installs, but then it just starts installing stuff to / ... it's pretty weird actually.

Offline

Board footer

Powered by FluxBB