summaryrefslogtreecommitdiff
path: root/community/rubinius
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-05-23 04:12:16 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-05-23 04:12:16 +0000
commit87d17fa2b4ad3761b9235da7280a51ba768102c6 (patch)
tree48846a0145a417176f52d5bf82990a78c7886adb /community/rubinius
parentef10ee9c3c1ff0f85ad53ccc313248f51a2fa69e (diff)
Fri May 23 04:06:37 UTC 2014
Diffstat (limited to 'community/rubinius')
-rw-r--r--community/rubinius/PKGBUILD13
-rw-r--r--community/rubinius/dirs.patch15
2 files changed, 17 insertions, 11 deletions
diff --git a/community/rubinius/PKGBUILD b/community/rubinius/PKGBUILD
index b948ce530..e87f66684 100644
--- a/community/rubinius/PKGBUILD
+++ b/community/rubinius/PKGBUILD
@@ -1,22 +1,22 @@
-# $Id: PKGBUILD 107124 2014-03-12 21:52:55Z heftig $
+# $Id: PKGBUILD 111649 2014-05-21 22:26:28Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgbase=rubinius
pkgname=(rubinius rubinius-ruby)
-pkgver=2.2.6
+pkgver=2.2.7
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)
+makedepends=(llvm rubinius-ruby)
options=(!emptydirs)
source=(http://releases.rubini.us/${pkgbase}-${pkgver}.tar.bz2
gemrc dirs.patch)
-sha256sums=('8ad2cada05a20c708379c75607fd0c8259623b3699d36be41e509052164eb103'
+sha256sums=('e1244b60ed790a3a33a7126a587c35acd041dcb2022b894833518490e872dc3d'
'4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614'
- '93f3918dc2a5679e281e724f9b3cb712ffa784c1e52e6fa7ce75f74ce6655a66')
+ 'a9922b199730c059c26781af45adc46401811ff2e6840c4aeb49da4fa41acdd9')
prepare() {
export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8"
@@ -41,7 +41,8 @@ build() {
--gemsdir=/usr/lib/rubinius/gems \
--preserve-prefix \
--llvm-shared \
- --without-rpath
+ --without-rpath \
+ --bin-link bundle --bin-link bundler
rake build
}
diff --git a/community/rubinius/dirs.patch b/community/rubinius/dirs.patch
index 8fe9c3b4e..d4e4641e8 100644
--- a/community/rubinius/dirs.patch
+++ b/community/rubinius/dirs.patch
@@ -1,15 +1,20 @@
diff --git i/library/rbconfig.rb w/library/rbconfig.rb
-index 611ad6a..533ef00 100644
+index 2e0cbba..3d9327d 100644
--- i/library/rbconfig.rb
+++ w/library/rbconfig.rb
-@@ -19,9 +19,9 @@ module RbConfig
- CONFIG["libexecdir"] = "$(exec_prefix)/libexec"
+@@ -16,12 +16,12 @@ module RbConfig
+ CONFIG["exec_prefix"] = "$(prefix)"
+ CONFIG["bindir"] = Rubinius::BIN_PATH.dup
+ CONFIG["sbindir"] = "$(exec_prefix)/sbin"
+- CONFIG["libexecdir"] = "$(exec_prefix)/libexec"
++ CONFIG["libexecdir"] = "/usr/lib/rubinius"
CONFIG["datarootdir"] = "$(prefix)/share"
CONFIG["datadir"] = "$(datarootdir)"
- CONFIG["sysconfdir"] = "$(prefix)/etc"
-+ CONFIG["sysconfdir"] = "/etc"
- CONFIG["sharedstatedir"] = "$(prefix)/com"
+- CONFIG["sharedstatedir"] = "$(prefix)/com"
- CONFIG["localstatedir"] = "$(prefix)/var"
++ CONFIG["sysconfdir"] = "/etc"
++ CONFIG["sharedstatedir"] = "/var/lib"
+ CONFIG["localstatedir"] = "/var"
CONFIG["includedir"] = "$(prefix)/include"
CONFIG["oldincludedir"] = "/usr/include"