You are not logged in.
This is actually three packages: FXScintilla, FXRuby, then FreeRIDE. You must have Ruby and FOX installed first.
pkgname=fxscintilla
pkgver=1.62
pkgrel=1
pkgdesc="scintilla support for FOX Toolkit"
url="http://www.nongnu.org/fxscintilla/"
license="LGPL"
depends=('ruby' 'fox')
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://savannah.nongnu.org/download/fxscintilla/$pkgname-$pkgver.tar.gz)
md5sums=('c4cb1b9d954b92e1e1fdcb75597662c6')
build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make DESTDIR=$startdir/pkg install
}pkgname=fxruby
pkgver=1.2.2
pkgrel=1
pkgdesc="FOX bindings for Ruby"
url="http://www.fxruby.org/"
license="LGPL"
depends=('ruby' 'fox')
makedepends=('ruby' 'fox' 'fxscintilla')
conflicts=()
replaces=()
backup=()
install=
source=(http://rubyforge.org/frs/download.php/1612/$pkgname-$pkgver.tar.gz)
md5sums=('1c899d20b8072396dce69c215bcc9c4e')
build() {
  cd $startdir/src/FXRuby-$pkgver
  ruby install.rb config -- --with-fxscintilla-include=/usr/include/fxscintilla --with-fxscintilla-lib=/usr/lib
  ruby install.rb setup
  ruby install.rb install --prefix=$startdir/pkg
}Those are pretty straight forward. FreeRIDE was different because there's no compile or install step, there's no shell script to execute, and there's no desktop shortcut for full WM environments like Gnome or KDE.
I wrote a short little shell script to be the executable:
#!/bin/sh
cd /usr/share/freeride
ruby freeride.rbThen I wrote a desktop shortcut:
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Exec=freeride
Icon=freeride.xpm
X-GNOME-DocPath=
Terminal=false
Name=FreerIDE
GenericName=freeride
Comment=IDE for Ruby
Categories=Application;Development;Then I opened the BULLSEYE.ico icon file in GIMP 2.2 and exported it as freeride.xpm.
Now here's the PKGBUILD:
pkgname=freeride
pkgver=0.9.2
pkgrel=1
pkgdesc="First-class cross-platform IDE for Ruby"
url="http://freeride.rubyforge.org/"
license="Ruby"
depends=('fxruby')
makedepends=('fxruby')
conflicts=()
replaces=()
backup=()
install=
source=(http://rubyforge.org/frs/download.php/2185/$pkgname-$pkgver.tar.gz)
md5sums=('04a9802f712074085349eac6d0d1483d')
build() {
  #cd $startdir/src/$pkgname-$pkgver
  install -d -m755 $startdir/pkg/usr/bin
  install -d -m755 $startdir/pkg/usr/share/pixmaps
  install -d -m755 $startdir/pkg/usr/share/applications
  cp -R $startdir/src/$pkgname-$pkgver $startdir/pkg/usr/share/$pkgname
  install -m755 $startdir/freeride $startdir/pkg/usr/bin
  install -m644 $startdir/freeride.xpm $startdir/pkg/usr/share/pixmaps
  install -m755 $startdir/freeride.desktop $startdir/pkg/usr/share/applications
}Enjoy!
Offline
nice, but fxscintilla pkg desc is wrong
it should say:
'scintilla support for FOX Toolkit"
Offline
You're right. Edit is done.
Offline
Yes, I'm resurrecting an old thread, but I wondered what the procedures would be for submitting something like this to the AUR when there are dependencies that would also be in the AUR? Do you have to do something different in the PKGBUILD to alert the user to download and install those PKGBUILDs first?
Basically the reason I ask is that I think this program is worthy of being there, and I'll probably offer to maintain it...
Offline
just add the dependencies to the AUR
btw, this script
#!/bin/sh
cd /usr/share/freeride
ruby freeride.rb should be created in the pkgbuild like this
mkdir -p $startdir/pkg/usr/bin
echo "#!/bin/bash" > $startdir/pkg/usr/bin/freeride
echo "cd /usr/share/freeride" >> $startdir/pkg/usr/bin/freeride
..... etc ...
chgrp users $startdir/pkg/usr/bin/freeride
chmod 775 $startdir/pkg/usr/bin/freerideOffline
You can also add a comment saying such and such depends are in AUR to let people know.
Offline