Hi.
I've built package for Arch linux.
As I know format of arch pkgbuilds and gentoo ebuilds is rather similar, so maybe attachments will be helpful for you. This pkgbuild is very simple (not to say dumb), but works nice for me.

cheers.

Melissa Whittington wrote:
Greetings!

So far I have just been reading about shoes. I have yet to install it
and try it out. I was curious if anyone had run it on gentoo and
possibly constructed an ebuild for it?

Currently I have a ai/simulation game I've written in ruby with
fxruby. You write little virtual bots using an API in either ruby,
python, perl, c++, or java and they battle each other on a map with
different terrain and objects and have different components they can
upgrade. I might try my hand at creating a shoes gui for it. fxruby
was my choice since it was part of the windows ruby installer package
and was somewhat the least ugly. But I really like what I'm seeing
with shoes. So, we'll see what happens.

happy hacking!


# $Id: PKGBUILD,v 0.1 2008/02/05 16:33:38 volh Exp $

pkgname=shoes-svn
pkgver=1
pkgrel=1
pkgdesc="Shoes GUI framework"
arch=('i686')
url="http://code.whytheluckystiff.net/svn/shoes/trunk";
license=("GPL")
depends=('ruby' 'cairo' 'libjpeg' 'pango' 'libungif' 'gtk2' )
makedepends=('subversion' 'make' 'gcc' 'pkgconfig' 'rake')
provides=('shoes')
source=()
md5sums=()

build() {
  mkdir $startdir/src
  cd $startdir/src
  svn co $url shoes
  cd shoes
  rake build

  mkdir -p $startdir/pkg/opt/shoes
  mkdir -p $startdir/pkg/etc/profile.d

  cp -R dist/* $startdir/pkg/opt/shoes
  cp $startdir/shoes.sh $startdir/pkg/etc/profile.d
  chmod +x $startdir/pkg/etc/profile.d/shoes.sh
}

Attachment: shoes.sh
Description: application/shellscript

Reply via email to