Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

ruby-enterprise-rake PKGBUILD

By: a guest on Feb 7th, 2011  |  syntax: Bash  |  size: 0.89 KB  |  hits: 132  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Generated by gem2arch
  2. # Maintainer: LeeF
  3. # Contributor: Jim Weirch <jim dot weirich at gmail dot com>
  4.  
  5. _gemname=rake
  6. pkgname=ruby-enterprise-$_gemname
  7. pkgver=0.8.7
  8. pkgrel=9
  9. pkgdesc="Ruby based make-like utility."
  10. arch=('i686' 'x86_64')
  11. url="http://rake.rubyforge.org"
  12. license=('MIT')
  13. depends=('ruby-enterprise')
  14. makedepends=('ruby-enterprise')
  15. source=(http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem ruby-enterprise-rake.install)
  16. install=ruby-enterprise-rake.install
  17. noextract=($_gemname-$pkgver.gem)
  18.  
  19. build() {
  20.   cd $srcdir
  21.   local _gemdir=`/opt/ruby-enterprise/bin/ruby -rubygems -e'puts Gem.default_dir'`
  22.   /opt/ruby-enterprise/bin/gem install --ignore-dependencies --no-rdoc --no-ri -i "$pkgdir$_gemdir" $_gemname-$pkgver.gem
  23.   mv "$pkgdir$_gemdir/bin" "$pkgdir/opt/ruby-enterprise/bin"
  24. }
  25.  
  26. md5sums=('d9eb83525310ad1a0e8a3eeddfe3c65f'
  27.          '3c301dd7a52bc7e019d851bef120de77')