This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jan 25th, 2011  |  syntax: None  |  size: 1.03 KB  |  views: 111  |  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. # $Id: PKGBUILD 20546 2010-07-09 04:28:23Z tdziedzic $
  2. # Contributor: William Rea <sillywilly@gmail.com>
  3. # Previous Maintainer: Bjorn Lindeijer <bjorn lindeijer nl>
  4. # Previous Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
  5. # Maintainer: Alexsandr Pavlov <kidoz at mail dot ru>
  6.  
  7. pkgname=sqlite3-ruby
  8. pkgver=1.3.3
  9. pkgrel=3
  10. pkgdesc="A Ruby interface for the SQLite3 database engine."
  11. arch=('i686' 'x86_64')
  12. url="http://rubygems.org/gems/sqlite3-ruby"
  13. license=('BSD')
  14. depends=('ruby' 'ruby-hoe' 'ruby-rake-compiler' 'ruby-rubyforge' 'sqlite3')
  15. makedepends=(rubygems)
  16. source=(http://rubygems.org/downloads/$pkgname-$pkgver.gem)
  17. noextract=($pkgname-$pkgver.gem)
  18. md5sums=('fb6a4837495c211f7553e5daffa67a01')
  19.  
  20. build() {
  21.   cd $srcdir
  22.   # _gemdir is defined inside build() because if ruby[gems] is not installed on the system
  23.   # makepkg will exit with an error when sourcing the PKGBUILD
  24.   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
  25.  
  26.   gem install --ignore-dependencies -i "$pkgdir$_gemdir" $pkgname-$pkgver.gem
  27.  }
clone this paste RAW Paste Data