diff options
author | Nicolás Reynolds <fauno@parabola.nu> | 2013-04-25 11:54:20 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@parabola.nu> | 2013-04-25 11:54:20 -0300 |
commit | 0f4dee0f15e56d85d9354b4d80e810b570e98e00 (patch) | |
tree | 6889257c6d4b0cdd90c5007bfff780f8d52d491d /pcr/ruby-headers | |
parent | 5d73e0d0fbcfdd552a97bb37d173f8d9a38750a3 (diff) | |
download | abslibre-0f4dee0f15e56d85d9354b4d80e810b570e98e00.tar.gz abslibre-0f4dee0f15e56d85d9354b4d80e810b570e98e00.tar.bz2 abslibre-0f4dee0f15e56d85d9354b4d80e810b570e98e00.zip |
Upgraded to ruby2
Diffstat (limited to 'pcr/ruby-headers')
-rw-r--r-- | pcr/ruby-headers/PKGBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/pcr/ruby-headers/PKGBUILD b/pcr/ruby-headers/PKGBUILD index 855c7ff38..074205e79 100644 --- a/pcr/ruby-headers/PKGBUILD +++ b/pcr/ruby-headers/PKGBUILD @@ -3,29 +3,24 @@ pkgname=ruby-headers _pkgname=ruby -pkgver=1.9.3_p385 -_pkgver=1.9.3-p385 +pkgver=2.0.0_p0 +_pkgver=2.0.0-p0 pkgrel=1 pkgdesc="A package of all Ruby headers needed by some gems like ruby-debug." arch=('any') url="http://www.ruby-lang.org/en/" license=('GPL2' 'custom:Ruby') depends=("ruby=$pkgver") -source=("http://ftp.ruby-lang.org/pub/ruby/1.9/$_pkgname-$_pkgver.tar.bz2") - -build() { - /bin/true -} +source=("http://ftp.ruby-lang.org/pub/ruby/2.0/$_pkgname-$_pkgver.tar.bz2") package() { cd "$srcdir/$_pkgname-$_pkgver" - # Just to make sure, since currently we have /usr/include/ruby-1.9.1 for ruby 1.9.2 - _hdrdir=`ruby -e "require 'rbconfig'; puts Config::CONFIG['rubyhdrdir']"` + _hdrdir=`ruby -e "require 'rbconfig'; puts RbConfig::CONFIG['rubyhdrdir']"` install -d "$pkgdir$_hdrdir/$_pkgname-$_pkgver" install -m644 *.{h,inc} "$pkgdir$_hdrdir/$_pkgname-$_pkgver" install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } -md5sums=('5ec9aff670f4912b0f6f0e11e855ef6c') +md5sums=('895c1c581f8d28e8b3bb02472b2ccf6a') |