You are not logged in.
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
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
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