summaryrefslogtreecommitdiff
path: root/extra/ruby
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-10 12:54:19 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-10 12:54:19 -0300
commita3d7852d5512f059905b4a9029129fe1d1befd1e (patch)
tree0f69d44f9b6e1fbae9f651f83fec52a1056428b3 /extra/ruby
parent3282ccb6286f172872d887baf49e623c51e0a157 (diff)
parent7b0cdd65ac7bcd3c7597b528a10de58e4e0a430f (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/virtualbox/PKGBUILD extra/irqbalance/PKGBUILD extra/lirc/PKGBUILD extra/ruby/PKGBUILD extra/xulrunner/PKGBUILD multilib/lib32-gtk2/PKGBUILD multilib/wine/PKGBUILD
Diffstat (limited to 'extra/ruby')
-rw-r--r--extra/ruby/PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD
index 9ed0088fc..29c8f035a 100644
--- a/extra/ruby/PKGBUILD
+++ b/extra/ruby/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 131846 2011-07-16 03:10:20Z eric $
+# $Id: PKGBUILD 142306 2011-11-08 07:15:40Z angvp $
# Maintainer:
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
@@ -6,34 +6,36 @@
pkgbase=ruby
pkgname=('ruby' 'ruby-docs')
-pkgver=1.9.2_p290
+pkgver=1.9.3_p0
pkgrel=1
pkgdesc="An object-oriented language for quick and easy programming"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.ruby-lang.org/en/"
-license=('custom')
-makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz')
+license=('BSD' 'custom')
+makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml')
[ "$CARCH" = "mips64el" ] && \
-makedepends=('openssl' 'tk' 'libffi' 'doxygen')
-options=('!emptydirs')
-source=("ftp://ftp.ruby-lang.org/pub/${pkgbase}/1.9/${pkgbase}-${pkgver//_/-}.tar.bz2")
+makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'libyaml')
+options=('!emptydirs' '!makeflags')
+source=(ftp://ftp.ruby-lang.org/pub/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver//_/-}.tar.bz2)
+sha1sums=('f63c116411b981ef54c2caeefb9ccc4d71a5d2cf')
build() {
cd "${srcdir}/${pkgbase}-${pkgver//_/-}"
- ./configure --prefix=/usr --sysconfdir=/etc \
+ DOXYGEN=/usr/bin/doxygen PKG_CONFIG=/usr/bin/pkg-config ./configure --prefix=/usr --sysconfdir=/etc \
--enable-shared --enable-pthread --disable-rpath
make
}
package_ruby() {
- depends=('openssl' 'libffi')
+ depends=('openssl' 'libffi' 'libyaml')
provides=('rubygems' 'rake')
conflicts=('rake')
optdepends=('tk: for Ruby/TK')
cd "${srcdir}/${pkgbase}-${pkgver//_/-}"
make DESTDIR="${pkgdir}" install-nodoc
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 BSDL "${pkgdir}/usr/share/licenses/${pkgname}/BSDL"
}
package_ruby-docs() {
@@ -41,6 +43,7 @@ package_ruby-docs() {
cd "${srcdir}/${pkgbase}-${pkgver//_/-}"
make DESTDIR="${pkgdir}" install-doc install-capi
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -D -m644 BSDL "${pkgdir}/usr/share/licenses/${pkgname}/BSDL"
}
md5sums=('096758c3e853b839dc980b183227b182')