[arch-commits] Commit in rubinius/repos (8 files)
Allan McRae
allan at archlinux.org
Thu Sep 10 03:45:51 UTC 2015
Date: Thursday, September 10, 2015 @ 05:45:51
Author: allan
Revision: 139733
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
rubinius/repos/community-staging-i686/
rubinius/repos/community-staging-i686/PKGBUILD
(from rev 139732, rubinius/trunk/PKGBUILD)
rubinius/repos/community-staging-i686/dirs.patch
(from rev 139732, rubinius/trunk/dirs.patch)
rubinius/repos/community-staging-i686/gemrc
(from rev 139732, rubinius/trunk/gemrc)
rubinius/repos/community-staging-x86_64/
rubinius/repos/community-staging-x86_64/PKGBUILD
(from rev 139732, rubinius/trunk/PKGBUILD)
rubinius/repos/community-staging-x86_64/dirs.patch
(from rev 139732, rubinius/trunk/dirs.patch)
rubinius/repos/community-staging-x86_64/gemrc
(from rev 139732, rubinius/trunk/gemrc)
-------------------------------------+
community-staging-i686/PKGBUILD | 87 ++++++++++++++++++++++++++++++++++
community-staging-i686/dirs.patch | 21 ++++++++
community-staging-i686/gemrc | 5 +
community-staging-x86_64/PKGBUILD | 87 ++++++++++++++++++++++++++++++++++
community-staging-x86_64/dirs.patch | 21 ++++++++
community-staging-x86_64/gemrc | 5 +
6 files changed, 226 insertions(+)
Copied: rubinius/repos/community-staging-i686/PKGBUILD (from rev 139732, rubinius/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-09-10 03:45:51 UTC (rev 139733)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=rubinius
+pkgname=(rubinius rubinius-ruby)
+pkgver=2.5.8
+pkgrel=2
+pkgdesc="Ruby runtime written in Ruby, designed for concurrency"
+arch=(i686 x86_64)
+url="http://rubini.us"
+license=(custom)
+depends=(llvm35-libs libffi openssl libyaml)
+makedepends=(llvm35 rubinius-ruby)
+options=(!emptydirs)
+source=(http://releases.rubini.us/${pkgbase}-${pkgver}.tar.bz2
+ gemrc dirs.patch)
+sha256sums=('d6b411732aa035865f2855845abe5405119560f0979062672d576601de89e59a'
+ '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614'
+ 'a9922b199730c059c26781af45adc46401811ff2e6840c4aeb49da4fa41acdd9')
+
+_common() {
+ export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8"
+ cd $pkgbase-$pkgver
+}
+
+prepare() {
+ _common
+
+ patch -Np1 -i ../dirs.patch
+
+ mkdir -p "$GEM_HOME"
+ gem install --no-user-install -N vendor/cache/bundler-*.gem
+
+ "$GEM_HOME/bin/bundle" install --local
+}
+
+build() {
+ _common
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --includedir=/usr/include/rubinius \
+ --appdir=/usr/lib/rubinius \
+ --gemsdir=/usr/lib/rubinius/gems \
+ --llvm-shared \
+ --preserve-prefix \
+ --without-rpath \
+ --bin-link bundle --bin-link bundler
+ rake build
+}
+
+check() {
+ _common
+ rake vm:test || :
+}
+
+package_rubinius() {
+ optdepends=('ruby-docs: Ruby documentation')
+
+ _common
+
+ DESTDIR="$pkgdir" rake install
+
+ mkdir -p "$pkgdir/usr/share/ri"
+ ln -s 2.2.0 "$pkgdir/usr/share/ri/2.1"
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/rubinius/LICENSE"
+
+### Split rubinius-ruby
+ mkdir -p "$srcdir/ruby/usr/bin"
+ for _f in "$pkgdir"/usr/bin/*; do
+ [[ $_f == */rbx ]] && continue
+ mv $_f "$srcdir/ruby/usr/bin"
+ done
+}
+
+package_rubinius-ruby() {
+ pkgdesc="Ruby compat for Rubinius"
+ depends=("rubinius=$pkgver-$pkgrel")
+ provides=(ruby)
+ conflicts=(ruby)
+ backup=(etc/gemrc)
+
+ mv ruby/* "$pkgdir"
+ install -Dm644 gemrc "$pkgdir/etc/gemrc"
+ install -d "$pkgdir/usr/share/licenses/rubinius-ruby"
+ ln -s ../rubinius/LICENSE "$pkgdir/usr/share/licenses/rubinius-ruby/LICENSE"
+}
Copied: rubinius/repos/community-staging-i686/dirs.patch (from rev 139732, rubinius/trunk/dirs.patch)
===================================================================
--- community-staging-i686/dirs.patch (rev 0)
+++ community-staging-i686/dirs.patch 2015-09-10 03:45:51 UTC (rev 139733)
@@ -0,0 +1,21 @@
+diff --git i/library/rbconfig.rb w/library/rbconfig.rb
+index 2e0cbba..3d9327d 100644
+--- i/library/rbconfig.rb
++++ w/library/rbconfig.rb
+@@ -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["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"
+ CONFIG["docdir"] = "$(datarootdir)/doc/$(PACKAGE)"
Copied: rubinius/repos/community-staging-i686/gemrc (from rev 139732, rubinius/trunk/gemrc)
===================================================================
--- community-staging-i686/gemrc (rev 0)
+++ community-staging-i686/gemrc 2015-09-10 03:45:51 UTC (rev 139733)
@@ -0,0 +1,5 @@
+# Read about the gemrc format at http://docs.rubygems.org/read/chapter/11
+
+# --user-install is used to install to $HOME/.gem/ by default since we want to separate
+# pacman installed gems and gem installed gems
+gem: --user-install
Copied: rubinius/repos/community-staging-x86_64/PKGBUILD (from rev 139732, rubinius/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-09-10 03:45:51 UTC (rev 139733)
@@ -0,0 +1,87 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgbase=rubinius
+pkgname=(rubinius rubinius-ruby)
+pkgver=2.5.8
+pkgrel=2
+pkgdesc="Ruby runtime written in Ruby, designed for concurrency"
+arch=(i686 x86_64)
+url="http://rubini.us"
+license=(custom)
+depends=(llvm35-libs libffi openssl libyaml)
+makedepends=(llvm35 rubinius-ruby)
+options=(!emptydirs)
+source=(http://releases.rubini.us/${pkgbase}-${pkgver}.tar.bz2
+ gemrc dirs.patch)
+sha256sums=('d6b411732aa035865f2855845abe5405119560f0979062672d576601de89e59a'
+ '4bb7eb2fe66e396ed16b589cdb656831407b39ad4e138d88536754c0448ac614'
+ 'a9922b199730c059c26781af45adc46401811ff2e6840c4aeb49da4fa41acdd9')
+
+_common() {
+ export GEM_HOME="$srcdir/gemdir" LANG="en_US.UTF-8"
+ cd $pkgbase-$pkgver
+}
+
+prepare() {
+ _common
+
+ patch -Np1 -i ../dirs.patch
+
+ mkdir -p "$GEM_HOME"
+ gem install --no-user-install -N vendor/cache/bundler-*.gem
+
+ "$GEM_HOME/bin/bundle" install --local
+}
+
+build() {
+ _common
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --includedir=/usr/include/rubinius \
+ --appdir=/usr/lib/rubinius \
+ --gemsdir=/usr/lib/rubinius/gems \
+ --llvm-shared \
+ --preserve-prefix \
+ --without-rpath \
+ --bin-link bundle --bin-link bundler
+ rake build
+}
+
+check() {
+ _common
+ rake vm:test || :
+}
+
+package_rubinius() {
+ optdepends=('ruby-docs: Ruby documentation')
+
+ _common
+
+ DESTDIR="$pkgdir" rake install
+
+ mkdir -p "$pkgdir/usr/share/ri"
+ ln -s 2.2.0 "$pkgdir/usr/share/ri/2.1"
+
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/rubinius/LICENSE"
+
+### Split rubinius-ruby
+ mkdir -p "$srcdir/ruby/usr/bin"
+ for _f in "$pkgdir"/usr/bin/*; do
+ [[ $_f == */rbx ]] && continue
+ mv $_f "$srcdir/ruby/usr/bin"
+ done
+}
+
+package_rubinius-ruby() {
+ pkgdesc="Ruby compat for Rubinius"
+ depends=("rubinius=$pkgver-$pkgrel")
+ provides=(ruby)
+ conflicts=(ruby)
+ backup=(etc/gemrc)
+
+ mv ruby/* "$pkgdir"
+ install -Dm644 gemrc "$pkgdir/etc/gemrc"
+ install -d "$pkgdir/usr/share/licenses/rubinius-ruby"
+ ln -s ../rubinius/LICENSE "$pkgdir/usr/share/licenses/rubinius-ruby/LICENSE"
+}
Copied: rubinius/repos/community-staging-x86_64/dirs.patch (from rev 139732, rubinius/trunk/dirs.patch)
===================================================================
--- community-staging-x86_64/dirs.patch (rev 0)
+++ community-staging-x86_64/dirs.patch 2015-09-10 03:45:51 UTC (rev 139733)
@@ -0,0 +1,21 @@
+diff --git i/library/rbconfig.rb w/library/rbconfig.rb
+index 2e0cbba..3d9327d 100644
+--- i/library/rbconfig.rb
++++ w/library/rbconfig.rb
+@@ -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["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"
+ CONFIG["docdir"] = "$(datarootdir)/doc/$(PACKAGE)"
Copied: rubinius/repos/community-staging-x86_64/gemrc (from rev 139732, rubinius/trunk/gemrc)
===================================================================
--- community-staging-x86_64/gemrc (rev 0)
+++ community-staging-x86_64/gemrc 2015-09-10 03:45:51 UTC (rev 139733)
@@ -0,0 +1,5 @@
+# Read about the gemrc format at http://docs.rubygems.org/read/chapter/11
+
+# --user-install is used to install to $HOME/.gem/ by default since we want to separate
+# pacman installed gems and gem installed gems
+gem: --user-install
More information about the arch-commits
mailing list