Date: Monday, November 18, 2013 @ 08:07:54 Author: heftig Revision: 101134
2.2.1 Modified: rubinius/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-11-17 23:30:51 UTC (rev 101133) +++ PKGBUILD 2013-11-18 07:07:54 UTC (rev 101134) @@ -3,7 +3,7 @@ pkgbase=rubinius pkgname=(rubinius rubinius-ruby) -pkgver=2.1.1 +pkgver=2.2.1 pkgrel=1 pkgdesc="Ruby runtime written in Ruby, designed for concurrency" arch=(i686 x86_64) @@ -10,13 +10,11 @@ url="http://rubini.us" license=(custom) depends=(llvm-libs libffi openssl libyaml) -makedepends=(llvm ruby chrpath) +makedepends=(llvm ruby) options=(!emptydirs) source=(http://releases.rubini.us/${pkgbase}-${pkgver}.tar.bz2 - http://rubygems.org/downloads/bundler-1.3.5.gem gemrc) -sha256sums=('e142c3f201e4ae9f3a6e6671298baabbd9bd906509c663adcf080bff4181ee96' - '08b89047f7b829f3e197a28fb1bde74c3f5cfea1552f99dfba237fee30eaffe4' +sha256sums=('2a2a4705cf517470b86b4a8e27e16b11ec363789b690411c792e0f8908c06cb0' '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614') prepare() { @@ -24,7 +22,7 @@ cd $pkgbase-$pkgver mkdir -p "$GEM_HOME" - gem install --no-user-install -N ../bundler-1.3.5.gem + gem install --no-user-install -N vendor/cache/bundler-*.gem "$GEM_HOME/bin/bundle" install --local } @@ -39,7 +37,8 @@ --appdir=/usr/lib/rubinius \ --gemsdir=/usr/lib/rubinius/gems \ --preserve-prefix \ - --llvm-shared + --llvm-shared \ + --without-rpath rake build } @@ -58,9 +57,6 @@ DESTDIR="$pkgdir" rake install - find "$pkgdir" -name "*.so" -exec chrpath -d {} + - chrpath -d "$pkgdir/usr/bin/rbx" - mkdir -p "$pkgdir/usr/share/ri" ln -s 2.0.0 "$pkgdir/usr/share/ri/2.1"
