summaryrefslogtreecommitdiff
path: root/community/rubinius
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/rubinius
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/rubinius')
-rw-r--r--community/rubinius/PKGBUILD28
1 files changed, 13 insertions, 15 deletions
diff --git a/community/rubinius/PKGBUILD b/community/rubinius/PKGBUILD
index a2494068f..593febc0a 100644
--- a/community/rubinius/PKGBUILD
+++ b/community/rubinius/PKGBUILD
@@ -1,30 +1,31 @@
-# $Id: PKGBUILD 98826 2013-10-19 20:58:03Z heftig $
+# $Id: PKGBUILD 102860 2013-12-22 14:20:57Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgbase=rubinius
pkgname=(rubinius rubinius-ruby)
-pkgver=2.1.1
+pkgver=2.2.2
pkgrel=1
pkgdesc="Ruby runtime written in Ruby, designed for concurrency"
arch=(i686 x86_64)
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'
- '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614')
+ gemrc dirs.patch)
+sha256sums=('a49d596f889405e4fc511da64b8afe5eccfafdcee5ea99be15d3ad36290ec2ba'
+ '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614'
+ '93f3918dc2a5679e281e724f9b3cb712ffa784c1e52e6fa7ce75f74ce6655a66')
prepare() {
export GEM_HOME="$srcdir/gemdir"
cd $pkgbase-$pkgver
+ patch -Np1 -i ../dirs.patch
+
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 +40,8 @@ build() {
--appdir=/usr/lib/rubinius \
--gemsdir=/usr/lib/rubinius/gems \
--preserve-prefix \
- --llvm-shared
+ --llvm-shared \
+ --without-rpath
rake build
}
@@ -51,17 +53,13 @@ check() {
}
package_rubinius() {
- optdepends=('rubinius-docs: Rubinius documentation'
- 'ruby-docs: Ruby documentation')
+ optdepends=('ruby-docs: Ruby documentation')
export GEM_HOME="$srcdir/gemdir"
cd $pkgbase-$pkgver
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"