updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / fxruby / PKGBUILD
blob176f30ea7ab00b85015f3ca839bcb8ca7a07ba4a
1 # Contributor: Christoph 'delmonico' Neuroth <delmonico@gmx.net>
2 # Contributor: Eric Forgeot < http://ifiction.free.fr >
3 pkgname=fxruby
4 pkgver=1.6.20
5 pkgrel=1
6 pkgdesc="FXRuby is a Ruby extension module that provides an interface to the FOX GUI library."
7 url="http://www.fxruby.org/"
8 license="LGPL"
9 arch=(i686 x86_64)
10 depends=('fox' 'ruby')
11 source=(http://rubyforge.org/frs/download.php/66842/fxruby-1.6.20.gem)
12 md5sums=('da27b50cc0d3524982f45a59ee0472af')
14 build() {
15   cd $srcdir/
16   # _gemdir is defined inside build() because if ruby[gems] is not installed on the system
17   #  makepkg will barf when sourcing the PKGBUILD
18   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
20   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $pkgname-$pkgver.gem
21   #gem install  -i "$pkgdir$_gemdir" $pkgname-$pkgver.gem
22   
23 #  ruby install.rb config --prefix=$startdir/pkg/usr
24 #  ruby install.rb setup
25 #  ruby install.rb install