Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

ruby-headers-2.0.0_p195-1

By: Ichimonji10 on Jun 17th, 2013  |  syntax: Bash  |  size: 0.81 KB  |  views: 27  |  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. # Maintainer: fauno <fauno@kiwwwi.com.ar>
  2. # Contributor: Hilton Medeiros <medeiros.hilton at gmail dot com>
  3.  
  4. pkgname=ruby-headers
  5. _pkgname=ruby
  6. pkgver=2.0.0_p195
  7. _pkgver=2.0.0-p195
  8. pkgrel=1
  9. pkgdesc="A package of all Ruby headers needed by some gems like ruby-debug."
  10. arch=('any')
  11. url="http://www.ruby-lang.org/en/"
  12. license=('GPL2' 'custom:Ruby')
  13. depends=("ruby=$pkgver")
  14. source=("http://ftp.ruby-lang.org/pub/ruby/2.0/$_pkgname-$_pkgver.tar.bz2")
  15.  
  16. package() {
  17.   cd "$srcdir/$_pkgname-$_pkgver"
  18.  
  19.   _hdrdir=`ruby -e "require 'rbconfig'; puts RbConfig::CONFIG['rubyhdrdir']"`
  20.  
  21.   install -d "$pkgdir$_hdrdir/$_pkgname-$_pkgver"
  22.   install -m644 *.{h,inc} "$pkgdir$_hdrdir/$_pkgname-$_pkgver"
  23.   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
  24. }
  25.  
  26. md5sums=('2f54faea6ee1ca500632ec3c0cb59cb6')