[arch-commits] Commit in ruby/repos (10 files)
Date: Tuesday, November 15, 2016 @ 16:31:55 Author: anatolik Revision: 280834 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ruby/repos/testing-i686/ ruby/repos/testing-i686/PKGBUILD (from rev 280833, ruby/trunk/PKGBUILD) ruby/repos/testing-i686/gemrc (from rev 280833, ruby/trunk/gemrc) ruby/repos/testing-i686/ruby.install (from rev 280833, ruby/trunk/ruby.install) ruby/repos/testing-x86_64/ ruby/repos/testing-x86_64/PKGBUILD (from rev 280833, ruby/trunk/PKGBUILD) ruby/repos/testing-x86_64/gemrc (from rev 280833, ruby/trunk/gemrc) ruby/repos/testing-x86_64/ruby.install (from rev 280833, ruby/trunk/ruby.install) Deleted: ruby/repos/community-testing-i686/ ruby/repos/community-testing-x86_64/ -+ testing-i686/PKGBUILD | 72 ++ testing-i686/gemrc |5 ++ testing-i686/ruby.install | 22 testing-x86_64/PKGBUILD | 72 ++ testing-x86_64/gemrc|5 ++ testing-x86_64/ruby.install | 22 6 files changed, 198 insertions(+) Copied: ruby/repos/testing-i686/PKGBUILD (from rev 280833, ruby/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-11-15 16:31:55 UTC (rev 280834) @@ -0,0 +1,72 @@ +# Maintainer: Thomas Dziedzic+# Contributor: Allan McRae +# Contributor: John Proctor +# Contributor: Jeramy Rutley + +pkgname=(ruby ruby-docs) +pkgver=2.3.2 +pkgrel=1 +arch=(i686 x86_64) +url='http://www.ruby-lang.org/en/' +license=(BSD custom) +makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk) +options=(!emptydirs) +source=(http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz +gemrc) +sha1sums=('b7c780dbfc34b5baea116504ae700f68c92379a0' + 'dc536754c8fac2c3d82965c5a708cd8f79562d98') + +build() { + cd ruby-${pkgver} + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--sharedstatedir=/var/lib \ +--libexecdir=/usr/lib/ruby \ +--enable-shared \ +--disable-rpath \ +--with-dbm-type=gdbm_compat + + make +} + +check() { + cd ruby-${pkgver} + + make test +} + +package_ruby() { + pkgdesc='An object-oriented language for quick and easy programming' + depends=(gdbm openssl libffi libyaml gmp zlib) + optdepends=( + 'ruby-docs: Ruby documentation' + 'tk: for Ruby/TK' + ) + provides=(rubygems rake) + conflicts=(rake) + backup=(etc/gemrc) + install=ruby.install + + cd ruby-${pkgver} + + make DESTDIR="${pkgdir}" install-nodoc + + install -D -m644 ${srcdir}/gemrc "${pkgdir}/etc/gemrc" + + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/ruby/LICENSE" + install -D -m644 BSDL "${pkgdir}/usr/share/licenses/ruby/BSDL" +} + +package_ruby-docs() { + pkgdesc='Documentation files for ruby' + + cd ruby-${pkgver} + + make DESTDIR="${pkgdir}" install-doc install-capi + + install -D -m644 COPYING "${pkgdir}/usr/share/licenses/ruby-docs/LICENSE" + install -D -m644 BSDL "${pkgdir}/usr/share/licenses/ruby-docs/BSDL" +} Copied: ruby/repos/testing-i686/gemrc (from rev 280833, ruby/trunk/gemrc) === --- testing-i686/gemrc (rev 0) +++ testing-i686/gemrc 2016-11-15 16:31:55 UTC (rev 280834) @@ -0,0 +1,5 @@ +# Read about the gemrc format at http://guides.rubygems.org/command-reference/#gem-environment + +# --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: ruby/repos/testing-i686/ruby.install (from rev 280833, ruby/trunk/ruby.install) === --- testing-i686/ruby.install (rev 0) +++ testing-i686/ruby.install 2016-11-15 16:31:55 UTC (rev 280834) @@ -0,0 +1,22 @@ +#!/bin/sh + +print_gem_default_target() { + echo 'The default location of gem installs is $HOME/.gem/ruby' + echo 'Add the following line to your PATH if you plan to install using gem' + echo '$(ruby -rubygems -e "puts Gem.user_dir")/bin' + echo 'If you want to install to the system wide location, you must either:' + echo 'edit /etc/gemrc or run gem with the --no-user-install flag.' +} + +# arg 1: the new package version +post_install() { + print_gem_default_target +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if [ "$(vercmp $2 1.9.3_p125-4)" -lt 0 ]; then +print_gem_default_target + fi +} Copied: ruby/repos/testing-x86_64/PKGBUILD (from rev 280833, ruby/trunk/PKGBUILD)
[arch-commits] Commit in ruby/repos (10 files)
Date: Thursday, November 13, 2014 @ 20:30:46 Author: anatolik Revision: 226199 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ruby/repos/testing-i686/ ruby/repos/testing-i686/PKGBUILD (from rev 226198, ruby/trunk/PKGBUILD) ruby/repos/testing-i686/disable_sse2_on_i686.patch (from rev 226198, ruby/trunk/disable_sse2_on_i686.patch) ruby/repos/testing-i686/gemrc (from rev 226198, ruby/trunk/gemrc) ruby/repos/testing-i686/ruby.install (from rev 226198, ruby/trunk/ruby.install) ruby/repos/testing-x86_64/ ruby/repos/testing-x86_64/PKGBUILD (from rev 226198, ruby/trunk/PKGBUILD) ruby/repos/testing-x86_64/disable_sse2_on_i686.patch (from rev 226198, ruby/trunk/disable_sse2_on_i686.patch) ruby/repos/testing-x86_64/gemrc (from rev 226198, ruby/trunk/gemrc) ruby/repos/testing-x86_64/ruby.install (from rev 226198, ruby/trunk/ruby.install) ---+ testing-i686/PKGBUILD | 82 testing-i686/disable_sse2_on_i686.patch | 27 + testing-i686/gemrc|5 + testing-i686/ruby.install | 22 +++ testing-x86_64/PKGBUILD | 82 testing-x86_64/disable_sse2_on_i686.patch | 27 + testing-x86_64/gemrc |5 + testing-x86_64/ruby.install | 22 +++ 8 files changed, 272 insertions(+) Copied: ruby/repos/testing-i686/PKGBUILD (from rev 226198, ruby/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-11-13 19:30:46 UTC (rev 226199) @@ -0,0 +1,82 @@ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Contributor: Allan McRae al...@archlinux.org +# Contributor: John Proctor jproc...@prium.net +# Contributor: Jeramy Rutley jrut...@gmail.com + +pkgname=('ruby' 'ruby-docs') +pkgver=2.1.5 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.ruby-lang.org/en/' +license=('BSD' 'custom') +# disable ruby tk since 1.9.3 it has caused a segfault on require 'tk' +# https://bugs.ruby-lang.org/issues/8000 +# wait for upstream to start supporting tk 8.6 +makedepends=('gdbm' 'openssl' 'libffi' 'doxygen' 'graphviz' 'libyaml' 'ttf-dejavu') # 'tk' +options=('!emptydirs' '!makeflags' 'staticlibs') +source=(http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz; +'gemrc' +'disable_sse2_on_i686.patch') +sha1sums=('52f8bafb4349eaf32fb99ba3d71e46fd924af966' + 'de4b760b7e2cd9af88ca67536ce37b950f1ee514' + '6e919c4892ef1f02d99e5620c6aac1251fc4597c') + + +prepare() { + cd ruby-${pkgver} + + # FS#39470 + patch -Np1 -i ${srcdir}/disable_sse2_on_i686.patch +} + +build() { + cd ruby-${pkgver} + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--sharedstatedir=/var/lib \ +--libexecdir=/usr/lib/ruby \ +--enable-shared \ +--disable-rpath \ +--with-dbm-type=gdbm_compat + + make +} + +check() { + cd ruby-${pkgver} + + make test +} + +package_ruby() { + pkgdesc='An object-oriented language for quick and easy programming' + depends=('gdbm' 'openssl' 'libffi' 'libyaml' 'gmp' 'zlib') + optdepends=('ruby-docs: Ruby documentation') # 'tk: for Ruby/TK' + provides=('rubygems' 'rake') + conflicts=('rake') + backup=('etc/gemrc') + install='ruby.install' + + cd ruby-${pkgver} + + make DESTDIR=${pkgdir} install-nodoc + + install -D -m644 ${srcdir}/gemrc ${pkgdir}/etc/gemrc + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby/BSDL +} + +package_ruby-docs() { + pkgdesc='Documentation files for ruby' + + cd ruby-${pkgver} + + make DESTDIR=${pkgdir} install-doc install-capi + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby-docs/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby-docs/BSDL +} Copied: ruby/repos/testing-i686/disable_sse2_on_i686.patch (from rev 226198, ruby/trunk/disable_sse2_on_i686.patch) === --- testing-i686/disable_sse2_on_i686.patch (rev 0) +++ testing-i686/disable_sse2_on_i686.patch 2014-11-13 19:30:46 UTC (rev 226199) @@ -0,0 +1,27 @@ +diff --git a/configure.in b/configure.in +index fc01f3b..bd9f950 100644 +--- a/configure.in b/configure.in +@@ -858,22 +858,6 @@ if test $GCC = yes; then + for oflag in -fno-fast-math; do + RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)]) + done +-AS_CASE([$target], +- [*-darwin*], [ +- # doesn't seem necessary on Mac OS X +- ], +- [[i[4-6]86*|i386*mingw*]], [ +- RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [ +- RUBY_APPEND_OPTION(XCFLAGS, -msse2
[arch-commits] Commit in ruby/repos (10 files)
Date: Monday, October 27, 2014 @ 20:29:41 Author: anatolik Revision: 225396 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ruby/repos/testing-i686/ ruby/repos/testing-i686/PKGBUILD (from rev 225395, ruby/trunk/PKGBUILD) ruby/repos/testing-i686/disable_sse2_on_i686.patch (from rev 225395, ruby/trunk/disable_sse2_on_i686.patch) ruby/repos/testing-i686/gemrc (from rev 225395, ruby/trunk/gemrc) ruby/repos/testing-i686/ruby.install (from rev 225395, ruby/trunk/ruby.install) ruby/repos/testing-x86_64/ ruby/repos/testing-x86_64/PKGBUILD (from rev 225395, ruby/trunk/PKGBUILD) ruby/repos/testing-x86_64/disable_sse2_on_i686.patch (from rev 225395, ruby/trunk/disable_sse2_on_i686.patch) ruby/repos/testing-x86_64/gemrc (from rev 225395, ruby/trunk/gemrc) ruby/repos/testing-x86_64/ruby.install (from rev 225395, ruby/trunk/ruby.install) ---+ testing-i686/PKGBUILD | 82 testing-i686/disable_sse2_on_i686.patch | 27 + testing-i686/gemrc|5 + testing-i686/ruby.install | 22 +++ testing-x86_64/PKGBUILD | 82 testing-x86_64/disable_sse2_on_i686.patch | 27 + testing-x86_64/gemrc |5 + testing-x86_64/ruby.install | 22 +++ 8 files changed, 272 insertions(+) Copied: ruby/repos/testing-i686/PKGBUILD (from rev 225395, ruby/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-10-27 19:29:41 UTC (rev 225396) @@ -0,0 +1,82 @@ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Contributor: Allan McRae al...@archlinux.org +# Contributor: John Proctor jproc...@prium.net +# Contributor: Jeramy Rutley jrut...@gmail.com + +pkgname=('ruby' 'ruby-docs') +pkgver=2.1.4 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.ruby-lang.org/en/' +license=('BSD' 'custom') +# disable ruby tk since 1.9.3 it has caused a segfault on require 'tk' +# https://bugs.ruby-lang.org/issues/8000 +# wait for upstream to start supporting tk 8.6 +makedepends=('gdbm' 'openssl' 'libffi' 'doxygen' 'graphviz' 'libyaml' 'ttf-dejavu') # 'tk' +options=('!emptydirs' '!makeflags' 'staticlibs') +source=(http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz; +'gemrc' +'disable_sse2_on_i686.patch') +sha1sums=('ce83142e829b1172ded4dfa46d4abd1fce2dd6d6' + 'de4b760b7e2cd9af88ca67536ce37b950f1ee514' + '6e919c4892ef1f02d99e5620c6aac1251fc4597c') + + +prepare() { + cd ruby-${pkgver} + + # FS#39470 + patch -Np1 -i ${srcdir}/disable_sse2_on_i686.patch +} + +build() { + cd ruby-${pkgver} + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--sharedstatedir=/var/lib \ +--libexecdir=/usr/lib/ruby \ +--enable-shared \ +--disable-rpath \ +--with-dbm-type=gdbm_compat + + make +} + +check() { + cd ruby-${pkgver} + + make test +} + +package_ruby() { + pkgdesc='An object-oriented language for quick and easy programming' + depends=('gdbm' 'openssl' 'libffi' 'libyaml' 'gmp' 'zlib') + optdepends=('ruby-docs: Ruby documentation') # 'tk: for Ruby/TK' + provides=('rubygems' 'rake') + conflicts=('rake') + backup=('etc/gemrc') + install='ruby.install' + + cd ruby-${pkgver} + + make DESTDIR=${pkgdir} install-nodoc + + install -D -m644 ${srcdir}/gemrc ${pkgdir}/etc/gemrc + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby/BSDL +} + +package_ruby-docs() { + pkgdesc='Documentation files for ruby' + + cd ruby-${pkgver} + + make DESTDIR=${pkgdir} install-doc install-capi + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby-docs/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby-docs/BSDL +} Copied: ruby/repos/testing-i686/disable_sse2_on_i686.patch (from rev 225395, ruby/trunk/disable_sse2_on_i686.patch) === --- testing-i686/disable_sse2_on_i686.patch (rev 0) +++ testing-i686/disable_sse2_on_i686.patch 2014-10-27 19:29:41 UTC (rev 225396) @@ -0,0 +1,27 @@ +diff --git a/configure.in b/configure.in +index fc01f3b..bd9f950 100644 +--- a/configure.in b/configure.in +@@ -858,22 +858,6 @@ if test $GCC = yes; then + for oflag in -fno-fast-math; do + RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)]) + done +-AS_CASE([$target], +- [*-darwin*], [ +- # doesn't seem necessary on Mac OS X +- ], +- [[i[4-6]86*|i386*mingw*]], [ +- RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [ +- RUBY_APPEND_OPTION(XCFLAGS, -msse2
[arch-commits] Commit in ruby/repos (10 files)
Date: Thursday, September 18, 2014 @ 22:13:04 Author: anatolik Revision: 221983 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ruby/repos/testing-i686/ ruby/repos/testing-i686/PKGBUILD (from rev 221982, ruby/trunk/PKGBUILD) ruby/repos/testing-i686/disable_sse2_on_i686.patch (from rev 221982, ruby/trunk/disable_sse2_on_i686.patch) ruby/repos/testing-i686/gemrc (from rev 221982, ruby/trunk/gemrc) ruby/repos/testing-i686/ruby.install (from rev 221982, ruby/trunk/ruby.install) ruby/repos/testing-x86_64/ ruby/repos/testing-x86_64/PKGBUILD (from rev 221982, ruby/trunk/PKGBUILD) ruby/repos/testing-x86_64/disable_sse2_on_i686.patch (from rev 221982, ruby/trunk/disable_sse2_on_i686.patch) ruby/repos/testing-x86_64/gemrc (from rev 221982, ruby/trunk/gemrc) ruby/repos/testing-x86_64/ruby.install (from rev 221982, ruby/trunk/ruby.install) ---+ testing-i686/PKGBUILD | 82 testing-i686/disable_sse2_on_i686.patch | 27 + testing-i686/gemrc|5 + testing-i686/ruby.install | 22 +++ testing-x86_64/PKGBUILD | 82 testing-x86_64/disable_sse2_on_i686.patch | 27 + testing-x86_64/gemrc |5 + testing-x86_64/ruby.install | 22 +++ 8 files changed, 272 insertions(+) Copied: ruby/repos/testing-i686/PKGBUILD (from rev 221982, ruby/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-09-18 20:13:04 UTC (rev 221983) @@ -0,0 +1,82 @@ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Contributor: Allan McRae al...@archlinux.org +# Contributor: John Proctor jproc...@prium.net +# Contributor: Jeramy Rutley jrut...@gmail.com + +pkgname=('ruby' 'ruby-docs') +pkgver=2.1.3 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.ruby-lang.org/en/' +license=('BSD' 'custom') +# disable ruby tk since 1.9.3 it has caused a segfault on require 'tk' +# https://bugs.ruby-lang.org/issues/8000 +# wait for upstream to start supporting tk 8.6 +makedepends=('gdbm' 'openssl' 'libffi' 'doxygen' 'graphviz' 'libyaml') # 'tk' +options=('!emptydirs' '!makeflags' 'staticlibs') +source=(http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz; +'gemrc' +'disable_sse2_on_i686.patch') +sha1sums=('d4e5447f0f6a5fda206cdadbfda470b97943ea7a' + 'de4b760b7e2cd9af88ca67536ce37b950f1ee514' + '6e919c4892ef1f02d99e5620c6aac1251fc4597c') + + +prepare() { + cd ruby-${pkgver} + + # FS#39470 + patch -Np1 -i ${srcdir}/disable_sse2_on_i686.patch +} + +build() { + cd ruby-${pkgver} + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--sharedstatedir=/var/lib \ +--libexecdir=/usr/lib/ruby \ +--enable-shared \ +--disable-rpath \ +--with-dbm-type=gdbm_compat + + make +} + +check() { + cd ruby-${pkgver} + + make test +} + +package_ruby() { + pkgdesc='An object-oriented language for quick and easy programming' + depends=('gdbm' 'openssl' 'libffi' 'libyaml' 'gmp' 'zlib') + optdepends=('ruby-docs: Ruby documentation') # 'tk: for Ruby/TK' + provides=('rubygems' 'rake') + conflicts=('rake') + backup=('etc/gemrc') + install='ruby.install' + + cd ruby-${pkgver} + + make DESTDIR=${pkgdir} install-nodoc + + install -D -m644 ${srcdir}/gemrc ${pkgdir}/etc/gemrc + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby/BSDL +} + +package_ruby-docs() { + pkgdesc='Documentation files for ruby' + + cd ruby-${pkgver} + + make DESTDIR=${pkgdir} install-doc install-capi + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby-docs/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby-docs/BSDL +} Copied: ruby/repos/testing-i686/disable_sse2_on_i686.patch (from rev 221982, ruby/trunk/disable_sse2_on_i686.patch) === --- testing-i686/disable_sse2_on_i686.patch (rev 0) +++ testing-i686/disable_sse2_on_i686.patch 2014-09-18 20:13:04 UTC (rev 221983) @@ -0,0 +1,27 @@ +diff --git a/configure.in b/configure.in +index fc01f3b..bd9f950 100644 +--- a/configure.in b/configure.in +@@ -858,22 +858,6 @@ if test $GCC = yes; then + for oflag in -fno-fast-math; do + RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)]) + done +-AS_CASE([$target], +- [*-darwin*], [ +- # doesn't seem necessary on Mac OS X +- ], +- [[i[4-6]86*|i386*mingw*]], [ +- RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [ +- RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse) +-
[arch-commits] Commit in ruby/repos (10 files)
Date: Friday, May 9, 2014 @ 04:08:59 Author: anatolik Revision: 212145 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ruby/repos/testing-i686/ ruby/repos/testing-i686/PKGBUILD (from rev 212144, ruby/trunk/PKGBUILD) ruby/repos/testing-i686/disable_sse2_on_i686.patch (from rev 212144, ruby/trunk/disable_sse2_on_i686.patch) ruby/repos/testing-i686/gemrc (from rev 212144, ruby/trunk/gemrc) ruby/repos/testing-i686/ruby.install (from rev 212144, ruby/trunk/ruby.install) ruby/repos/testing-x86_64/ ruby/repos/testing-x86_64/PKGBUILD (from rev 212144, ruby/trunk/PKGBUILD) ruby/repos/testing-x86_64/disable_sse2_on_i686.patch (from rev 212144, ruby/trunk/disable_sse2_on_i686.patch) ruby/repos/testing-x86_64/gemrc (from rev 212144, ruby/trunk/gemrc) ruby/repos/testing-x86_64/ruby.install (from rev 212144, ruby/trunk/ruby.install) ---+ testing-i686/PKGBUILD | 82 testing-i686/disable_sse2_on_i686.patch | 27 + testing-i686/gemrc|5 + testing-i686/ruby.install | 22 +++ testing-x86_64/PKGBUILD | 82 testing-x86_64/disable_sse2_on_i686.patch | 27 + testing-x86_64/gemrc |5 + testing-x86_64/ruby.install | 22 +++ 8 files changed, 272 insertions(+) Copied: ruby/repos/testing-i686/PKGBUILD (from rev 212144, ruby/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-05-09 02:08:59 UTC (rev 212145) @@ -0,0 +1,82 @@ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Contributor: Allan McRae al...@archlinux.org +# Contributor: John Proctor jproc...@prium.net +# Contributor: Jeramy Rutley jrut...@gmail.com + +pkgname=('ruby' 'ruby-docs') +pkgver=2.1.2 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.ruby-lang.org/en/' +license=('BSD' 'custom') +# disable ruby tk since 1.9.3 it has caused a segfault on require 'tk' +# https://bugs.ruby-lang.org/issues/8000 +# wait for upstream to start supporting tk 8.6 +makedepends=('gdbm' 'openssl' 'libffi' 'doxygen' 'graphviz' 'libyaml') # 'tk' +options=('!emptydirs' '!makeflags' 'staticlibs') +source=(http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.bz2; +'gemrc' +'disable_sse2_on_i686.patch') +sha1sums=('29a615966c7feb6554be736e7dcd590c770ee692' + 'de4b760b7e2cd9af88ca67536ce37b950f1ee514' + '92592bca7e4bbe760202b1bc356a8e3a1a9446b5') + + +prepare() { + cd ruby-${pkgver} + + # FS#39470 + patch -Np1 -i ${srcdir}/disable_sse2_on_i686.patch +} + +build() { + cd ruby-${pkgver} + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--localstatedir=/var \ +--sharedstatedir=/var/lib \ +--libexecdir=/usr/lib/ruby \ +--enable-shared \ +--disable-rpath \ +--with-dbm-type=gdbm_compat + + make +} + +check() { + cd ruby-${pkgver} + + make test +} + +package_ruby() { + pkgdesc='An object-oriented language for quick and easy programming' + depends=('gdbm' 'openssl' 'libffi' 'libyaml' 'gmp' 'zlib') + optdepends=('ruby-docs: Ruby documentation') # 'tk: for Ruby/TK' + provides=('rubygems' 'rake') + conflicts=('rake') + backup=('etc/gemrc') + install='ruby.install' + + cd ruby-${pkgver} + + make DESTDIR=${pkgdir} install-nodoc + + install -D -m644 ${srcdir}/gemrc ${pkgdir}/etc/gemrc + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby/BSDL +} + +package_ruby-docs() { + pkgdesc='Documentation files for ruby' + + cd ruby-${pkgver} + + make DESTDIR=${pkgdir} install-doc install-capi + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby-docs/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby-docs/BSDL +} Copied: ruby/repos/testing-i686/disable_sse2_on_i686.patch (from rev 212144, ruby/trunk/disable_sse2_on_i686.patch) === --- testing-i686/disable_sse2_on_i686.patch (rev 0) +++ testing-i686/disable_sse2_on_i686.patch 2014-05-09 02:08:59 UTC (rev 212145) @@ -0,0 +1,27 @@ +diff --git a/configure.in b/configure.in +index e952cc7..e5f86cc 100644 +--- a/configure.in b/configure.in +@@ -868,22 +868,6 @@ if test $GCC = yes; then + for oflag in -fno-fast-math; do + RUBY_TRY_CFLAGS($oflag, [RUBY_APPEND_OPTION(optflags, $oflag)]) + done +-AS_CASE([$target], +- [*-darwin*], [ +- # doesn't seem necessary on Mac OS X +- ], +- [[i[4-6]86*]], [ +- RUBY_TRY_CFLAGS(-msse2 -mfpmath=sse, [ +- RUBY_APPEND_OPTION(XCFLAGS, -msse2 -mfpmath=sse) +- ]) +-
[arch-commits] Commit in ruby/repos (10 files)
Date: Sunday, March 2, 2014 @ 07:12:56 Author: td123 Revision: 206585 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ruby/repos/testing-i686/ ruby/repos/testing-i686/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch (from rev 206584, ruby/trunk/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch) ruby/repos/testing-i686/PKGBUILD (from rev 206584, ruby/trunk/PKGBUILD) ruby/repos/testing-i686/gemrc (from rev 206584, ruby/trunk/gemrc) ruby/repos/testing-i686/ruby.install (from rev 206584, ruby/trunk/ruby.install) ruby/repos/testing-x86_64/ ruby/repos/testing-x86_64/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch (from rev 206584, ruby/trunk/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch) ruby/repos/testing-x86_64/PKGBUILD (from rev 206584, ruby/trunk/PKGBUILD) ruby/repos/testing-x86_64/gemrc (from rev 206584, ruby/trunk/gemrc) ruby/repos/testing-x86_64/ruby.install (from rev 206584, ruby/trunk/ruby.install) + testing-i686/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch | 26 +++ testing-i686/PKGBUILD | 75 ++ testing-i686/gemrc |5 testing-i686/ruby.install | 22 ++ testing-x86_64/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch | 26 +++ testing-x86_64/PKGBUILD | 75 ++ testing-x86_64/gemrc |5 testing-x86_64/ruby.install | 22 ++ 8 files changed, 256 insertions(+) Copied: ruby/repos/testing-i686/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch (from rev 206584, ruby/trunk/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch) === --- testing-i686/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch (rev 0) +++ testing-i686/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch 2014-03-02 06:12:56 UTC (rev 206585) @@ -0,0 +1,26 @@ +From 4c4da3fc650a3595ecc06f49072f1ffae07db706 Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic gos...@gmail.com +Date: Sat, 1 Mar 2014 21:41:28 -0800 +Subject: [PATCH] Fix undeclared identifier error by using the actual type of + rl_pre_input_hook + +--- + ext/readline/readline.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ext/readline/readline.c b/ext/readline/readline.c +index 659adb9..7bc0eed 100644 +--- a/ext/readline/readline.c b/ext/readline/readline.c +@@ -1974,7 +1974,7 @@ Init_readline() + + rl_attempted_completion_function = readline_attempted_completion_function; + #if defined(HAVE_RL_PRE_INPUT_HOOK) +-rl_pre_input_hook = (Function *)readline_pre_input_hook; ++rl_pre_input_hook = (rl_hook_func_t *)readline_pre_input_hook; + #endif + #ifdef HAVE_RL_CATCH_SIGNALS + rl_catch_signals = 0; +-- +1.9.0 + Copied: ruby/repos/testing-i686/PKGBUILD (from rev 206584, ruby/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-03-02 06:12:56 UTC (rev 206585) @@ -0,0 +1,75 @@ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Contributor: Allan McRae al...@archlinux.org +# Contributor: John Proctor jproc...@prium.net +# Contributor: Jeramy Rutley jrut...@gmail.com + +pkgname=('ruby' 'ruby-docs') +pkgver=2.1.1 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.ruby-lang.org/en/' +license=('BSD' 'custom') +# disable ruby tk since 1.9.3 it has caused a segfault on require 'tk' +# https://bugs.ruby-lang.org/issues/8000 +# wait for upstream to start supporting tk 8.6 +makedepends=('gdbm' 'openssl' 'libffi' 'doxygen' 'graphviz' 'libyaml') # 'tk' +options=('!emptydirs' '!makeflags' 'staticlibs') +source=(http://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.bz2; +'gemrc' +'0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch') +md5sums=('53edc33b2f590ecdd9f6a344b9d92d0d' + '6fb8e7a09955e0f64be3158fb4a27e7a' + '0496e962e0ce11507b7577a8eb93af58') + +build() { + cd ruby-${pkgver} + + # readline 6.3 doesn't define Function anymore + # https://bugs.ruby-lang.org/issues/9578 + patch -Np1 -i ${srcdir}/0001-Fix-undeclared-identifier-error-by-using-the-actual-.patch + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--enable-shared \ +--disable-rpath \ +--with-dbm-type=gdbm_compat + + make +} + +check() { + cd ruby-${pkgver} +
[arch-commits] Commit in ruby/repos (10 files)
Date: Saturday, August 10, 2013 @ 20:29:16 Author: td123 Revision: 192406 archrelease: copy trunk to staging-i686, staging-x86_64 Added: ruby/repos/staging-i686/ ruby/repos/staging-i686/0001-remove-db-support.patch (from rev 192405, ruby/trunk/0001-remove-db-support.patch) ruby/repos/staging-i686/PKGBUILD (from rev 192405, ruby/trunk/PKGBUILD) ruby/repos/staging-i686/gemrc (from rev 192405, ruby/trunk/gemrc) ruby/repos/staging-i686/ruby.install (from rev 192405, ruby/trunk/ruby.install) ruby/repos/staging-x86_64/ ruby/repos/staging-x86_64/0001-remove-db-support.patch (from rev 192405, ruby/trunk/0001-remove-db-support.patch) ruby/repos/staging-x86_64/PKGBUILD (from rev 192405, ruby/trunk/PKGBUILD) ruby/repos/staging-x86_64/gemrc (from rev 192405, ruby/trunk/gemrc) ruby/repos/staging-x86_64/ruby.install (from rev 192405, ruby/trunk/ruby.install) -+ staging-i686/0001-remove-db-support.patch | 35 staging-i686/PKGBUILD | 72 ++ staging-i686/gemrc |5 + staging-i686/ruby.install | 22 +++ staging-x86_64/0001-remove-db-support.patch | 35 staging-x86_64/PKGBUILD | 72 ++ staging-x86_64/gemrc|5 + staging-x86_64/ruby.install | 22 +++ 8 files changed, 268 insertions(+) Copied: ruby/repos/staging-i686/0001-remove-db-support.patch (from rev 192405, ruby/trunk/0001-remove-db-support.patch) === --- staging-i686/0001-remove-db-support.patch (rev 0) +++ staging-i686/0001-remove-db-support.patch 2013-08-10 18:29:16 UTC (rev 192406) @@ -0,0 +1,35 @@ +From b653d6ffe9ec25c203fc0cbbbdd72e9b42546283 Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic gos...@gmail.com +Date: Sat, 10 Aug 2013 10:50:16 -0700 +Subject: [PATCH] remove db support + +--- + ext/dbm/extconf.rb | 8 +--- + 1 file changed, 1 insertion(+), 7 deletions(-) + +diff --git a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb +index 32a9446..2412404 100644 +--- a/ext/dbm/extconf.rb b/ext/dbm/extconf.rb +@@ -5,17 +5,11 @@ dir_config(dbm) + if dblib = with_config(dbm-type, nil) + dblib = dblib.split(/[ ,]+/) + else +- dblib = %w(libc db db2 db1 db5 db4 db3 gdbm_compat gdbm qdbm) ++ dblib = %w(libc gdbm_compat gdbm qdbm) + end + + headers = { + libc = [ndbm.h], # 4.3BSD original ndbm, Berkeley DB 1 in 4.4BSD libc. +- db = [db.h], +- db1 = [db1/ndbm.h, db1.h, ndbm.h], +- db2 = [db2/db.h, db2.h, db.h], +- db3 = [db3/db.h, db3.h, db.h], +- db4 = [db4/db.h, db4.h, db.h], +- db5 = [db5/db.h, db5.h, db.h], + gdbm_compat = [gdbm-ndbm.h, gdbm/ndbm.h, ndbm.h], # GDBM since 1.8.1 + gdbm = [gdbm-ndbm.h, gdbm/ndbm.h, ndbm.h], # GDBM until 1.8.0 + qdbm = [qdbm/relic.h, relic.h], +-- +1.8.3.4 + Copied: ruby/repos/staging-i686/PKGBUILD (from rev 192405, ruby/trunk/PKGBUILD) === --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-08-10 18:29:16 UTC (rev 192406) @@ -0,0 +1,72 @@ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Contributor: Allan McRae al...@archlinux.org +# Contributor: John Proctor jproc...@prium.net +# Contributor: Jeramy Rutley jrut...@gmail.com + +pkgname=('ruby' 'ruby-docs') +pkgver=2.0.0_p247 +pkgrel=3 +arch=('i686' 'x86_64') +url='http://www.ruby-lang.org/en/' +license=('BSD' 'custom') +makedepends=('gdbm' 'openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml') +options=('!emptydirs' '!makeflags') +source=(ftp://ftp.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver//_/-}.tar.bz2; +'gemrc' +'0001-remove-db-support.patch') +md5sums=('60913f3eec0c4071f44df42600be2604' + '6fb8e7a09955e0f64be3158fb4a27e7a' + 'b93ff50214a3da26525244cf37b71a8f') + +build() { + cd ruby-${pkgver//_/-} + + # use gdbm because db v6 changed the license to AGPL + patch -Np1 -i ${srcdir}/0001-remove-db-support.patch + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--enable-shared \ +--enable-pthread \ +--disable-rpath + + make +} + +check() { + cd ruby-${pkgver//_/-} + + make test +} + +package_ruby() { + pkgdesc='An object-oriented language for quick and easy programming' + depends=('gdbm' 'openssl' 'libffi' 'libyaml') + optdepends=('tk: for Ruby/TK' + 'ruby-docs: Ruby documentation') + provides=('rubygems' 'rake') + conflicts=('rake') + backup=('etc/gemrc') + install='ruby.install' + + cd ruby-${pkgver//_/-} + + make DESTDIR=${pkgdir} install-nodoc + + install -D -m644 ${srcdir}/gemrc ${pkgdir}/etc/gemrc + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby/LICENSE + install -D -m644 BSDL
[arch-commits] Commit in ruby/repos (10 files)
Date: Sunday, December 23, 2012 @ 21:20:57 Author: foutrelis Revision: 173813 db-move: moved ruby from [staging] to [testing] (i686, x86_64) Added: ruby/repos/testing-i686/ ruby/repos/testing-i686/PKGBUILD (from rev 173802, ruby/repos/staging-i686/PKGBUILD) ruby/repos/testing-i686/gemrc (from rev 173802, ruby/repos/staging-i686/gemrc) ruby/repos/testing-i686/ruby.install (from rev 173802, ruby/repos/staging-i686/ruby.install) ruby/repos/testing-x86_64/ ruby/repos/testing-x86_64/PKGBUILD (from rev 173802, ruby/repos/staging-x86_64/PKGBUILD) ruby/repos/testing-x86_64/gemrc (from rev 173802, ruby/repos/staging-x86_64/gemrc) ruby/repos/testing-x86_64/ruby.install (from rev 173802, ruby/repos/staging-x86_64/ruby.install) Deleted: ruby/repos/staging-i686/ ruby/repos/staging-x86_64/ -+ testing-i686/PKGBUILD | 67 ++ testing-i686/gemrc |5 +++ testing-i686/ruby.install | 22 + testing-x86_64/PKGBUILD | 67 ++ testing-x86_64/gemrc|5 +++ testing-x86_64/ruby.install | 22 + 6 files changed, 188 insertions(+) Copied: ruby/repos/testing-i686/PKGBUILD (from rev 173802, ruby/repos/staging-i686/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-12-24 02:20:57 UTC (rev 173813) @@ -0,0 +1,67 @@ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Contributor: Allan McRae al...@archlinux.org +# Contributor: John Proctor jproc...@prium.net +# Contributor: Jeramy Rutley jrut...@gmail.com + +pkgname=('ruby' 'ruby-docs') +pkgver=1.9.3_p327 +pkgrel=2 +arch=('i686' 'x86_64') +url='http://www.ruby-lang.org/en/' +license=('BSD' 'custom') +makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml') +options=('!emptydirs' '!makeflags') +source=(ftp://ftp.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver//_/-}.tar.bz2; +'gemrc') +md5sums=('7d602aba93f31ceef32800999855fbca' + '6fb8e7a09955e0f64be3158fb4a27e7a') + +build() { + cd ruby-${pkgver//_/-} + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--enable-shared \ +--enable-pthread \ +--disable-rpath + + make +} + +check() { + cd ruby-${pkgver//_/-} + + make test +} + +package_ruby() { + pkgdesc='An object-oriented language for quick and easy programming' + depends=('openssl' 'libffi' 'libyaml') + optdepends=('tk: for Ruby/TK' + 'ruby-docs: Ruby documentation') + provides=('rubygems' 'rake') + conflicts=('rake') + backup=('etc/gemrc') + install='ruby.install' + + cd ruby-${pkgver//_/-} + + make DESTDIR=${pkgdir} install-nodoc + + install -D -m644 ${srcdir}/gemrc ${pkgdir}/etc/gemrc + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby/BSDL +} + +package_ruby-docs() { + pkgdesc='Documentation files for ruby' + + cd ruby-${pkgver//_/-} + + make DESTDIR=${pkgdir} install-doc install-capi + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby-docs/LICENSE + install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby-docs/BSDL +} Copied: ruby/repos/testing-i686/gemrc (from rev 173802, ruby/repos/staging-i686/gemrc) === --- testing-i686/gemrc (rev 0) +++ testing-i686/gemrc 2012-12-24 02:20:57 UTC (rev 173813) @@ -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: ruby/repos/testing-i686/ruby.install (from rev 173802, ruby/repos/staging-i686/ruby.install) === --- testing-i686/ruby.install (rev 0) +++ testing-i686/ruby.install 2012-12-24 02:20:57 UTC (rev 173813) @@ -0,0 +1,22 @@ +#!/bin/sh + +print_gem_default_target() { + echo 'The default location of gem installs is $HOME/.gem/ruby' + echo 'Add the following line to your PATH if you plan to install using gem' + echo '$(ruby -rubygems -e puts Gem.user_dir)/bin' + echo 'If you want to install to the system wide location, you must either:' + echo 'edit /etc/gemrc or run gem with the --no-user-install flag.' +} + +# arg 1: the new package version +post_install() { + print_gem_default_target +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + if [ $(vercmp $2 1.9.3_p125-4) -lt 0 ]; then +print_gem_default_target + fi +} Copied: ruby/repos/testing-x86_64/PKGBUILD (from rev 173802, ruby/repos/staging-x86_64/PKGBUILD)
[arch-commits] Commit in ruby/repos (10 files)
Date: Friday, November 9, 2012 @ 22:50:48 Author: tdziedzic Revision: 170715 archrelease: copy trunk to testing-i686, testing-x86_64 Added: ruby/repos/testing-i686/PKGBUILD (from rev 170714, ruby/trunk/PKGBUILD) ruby/repos/testing-i686/gemrc (from rev 170714, ruby/trunk/gemrc) ruby/repos/testing-i686/ruby.install (from rev 170714, ruby/trunk/ruby.install) ruby/repos/testing-x86_64/ ruby/repos/testing-x86_64/PKGBUILD (from rev 170714, ruby/trunk/PKGBUILD) ruby/repos/testing-x86_64/gemrc (from rev 170714, ruby/trunk/gemrc) ruby/repos/testing-x86_64/ruby.install (from rev 170714, ruby/trunk/ruby.install) Deleted: ruby/repos/testing-i686/PKGBUILD ruby/repos/testing-i686/gemrc ruby/repos/testing-i686/ruby.install -+ testing-i686/PKGBUILD | 134 +- testing-i686/gemrc | 10 +-- testing-i686/ruby.install | 44 ++--- testing-x86_64/PKGBUILD | 67 + testing-x86_64/gemrc|5 + testing-x86_64/ruby.install | 22 ++ 6 files changed, 188 insertions(+), 94 deletions(-) Deleted: testing-i686/PKGBUILD === --- testing-i686/PKGBUILD 2012-11-10 03:21:44 UTC (rev 170714) +++ testing-i686/PKGBUILD 2012-11-10 03:50:48 UTC (rev 170715) @@ -1,67 +0,0 @@ -# Maintainer: Thomas Dziedzic gos...@gmail.com -# Contributor: Allan McRae al...@archlinux.org -# Contributor: John Proctor jproc...@prium.net -# Contributor: Jeramy Rutley jrut...@gmail.com - -pkgname=('ruby' 'ruby-docs') -pkgver=1.9.3_p327 -pkgrel=1 -arch=('i686' 'x86_64') -url='http://www.ruby-lang.org/en/' -license=('BSD' 'custom') -makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml') -options=('!emptydirs' '!makeflags') -source=(ftp://ftp.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver//_/-}.tar.bz2; -'gemrc') -md5sums=('7d602aba93f31ceef32800999855fbca' - '6fb8e7a09955e0f64be3158fb4a27e7a') - -build() { - cd ruby-${pkgver//_/-} - - PKG_CONFIG=/usr/bin/pkg-config ./configure \ ---prefix=/usr \ ---sysconfdir=/etc \ ---enable-shared \ ---enable-pthread \ ---disable-rpath - - make -} - -check() { - cd ruby-${pkgver//_/-} - - make test -} - -package_ruby() { - pkgdesc='An object-oriented language for quick and easy programming' - depends=('openssl' 'libffi' 'libyaml') - optdepends=('tk: for Ruby/TK' - 'ruby-docs: Ruby documentation') - provides=('rubygems' 'rake') - conflicts=('rake') - backup=('etc/gemrc') - install='ruby.install' - - cd ruby-${pkgver//_/-} - - make DESTDIR=${pkgdir} install-nodoc - - install -D -m644 ${srcdir}/gemrc ${pkgdir}/etc/gemrc - - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby/LICENSE - install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby/BSDL -} - -package_ruby-docs() { - pkgdesc='Documentation files for ruby' - - cd ruby-${pkgver//_/-} - - make DESTDIR=${pkgdir} install-doc install-capi - - install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby-docs/LICENSE - install -D -m644 BSDL ${pkgdir}/usr/share/licenses/ruby-docs/BSDL -} Copied: ruby/repos/testing-i686/PKGBUILD (from rev 170714, ruby/trunk/PKGBUILD) === --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2012-11-10 03:50:48 UTC (rev 170715) @@ -0,0 +1,67 @@ +# Maintainer: Thomas Dziedzic gos...@gmail.com +# Contributor: Allan McRae al...@archlinux.org +# Contributor: John Proctor jproc...@prium.net +# Contributor: Jeramy Rutley jrut...@gmail.com + +pkgname=('ruby' 'ruby-docs') +pkgver=1.9.3_p327 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://www.ruby-lang.org/en/' +license=('BSD' 'custom') +makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml') +options=('!emptydirs' '!makeflags') +source=(ftp://ftp.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver//_/-}.tar.bz2; +'gemrc') +md5sums=('7d602aba93f31ceef32800999855fbca' + '6fb8e7a09955e0f64be3158fb4a27e7a') + +build() { + cd ruby-${pkgver//_/-} + + PKG_CONFIG=/usr/bin/pkg-config ./configure \ +--prefix=/usr \ +--sysconfdir=/etc \ +--enable-shared \ +--enable-pthread \ +--disable-rpath + + make +} + +check() { + cd ruby-${pkgver//_/-} + + make test +} + +package_ruby() { + pkgdesc='An object-oriented language for quick and easy programming' + depends=('openssl' 'libffi' 'libyaml') + optdepends=('tk: for Ruby/TK' + 'ruby-docs: Ruby documentation') + provides=('rubygems' 'rake') + conflicts=('rake') + backup=('etc/gemrc') + install='ruby.install' + + cd ruby-${pkgver//_/-} + + make DESTDIR=${pkgdir} install-nodoc + + install -D -m644 ${srcdir}/gemrc ${pkgdir}/etc/gemrc + + install -D -m644 COPYING ${pkgdir}/usr/share/licenses/ruby/LICENSE + install -D -m644 BSDL