summaryrefslogtreecommitdiff
path: root/extra/ruby
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-01 22:46:45 +0000
committerroot <root@rshg047.dnsready.net>2011-06-01 22:46:45 +0000
commite7b9c9697e6a50c3b9e78941fa95ba11c716d238 (patch)
tree4df601d78b5a2009ebeea5f01afe1f6e2beb8ca4 /extra/ruby
parent311d0420d77867bdb1066d38743e68e596a17ce5 (diff)
Wed Jun 1 22:46:45 UTC 2011
Diffstat (limited to 'extra/ruby')
-rw-r--r--extra/ruby/PKGBUILD15
1 files changed, 7 insertions, 8 deletions
diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD
index 09050b137..0cbf5438b 100644
--- a/extra/ruby/PKGBUILD
+++ b/extra/ruby/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 110397 2011-02-19 07:14:33Z eric $
+# $Id: PKGBUILD 125918 2011-05-31 21:19:50Z andrea $
# Maintainer:
# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
@@ -7,15 +7,14 @@
pkgbase=ruby
pkgname=('ruby' 'ruby-docs')
pkgver=1.9.2_p180
-pkgrel=1
+pkgrel=2
pkgdesc="An object-oriented language for quick and easy programming"
arch=('i686' 'x86_64')
url="http://www.ruby-lang.org/en/"
license=('custom')
-makedepends=('gdbm' 'db' 'openssl' 'zlib' 'readline' 'tk' 'libffi' 'doxygen'
- 'graphviz')
+makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz')
options=('!emptydirs')
-source=("ftp://ftp.ruby-lang.org/pub/ruby/1.9/${pkgbase}-${pkgver//_/-}.tar.bz2")
+source=("ftp://ftp.ruby-lang.org/pub/${pkgbase}/1.9/${pkgbase}-${pkgver//_/-}.tar.bz2")
md5sums=('68510eeb7511c403b91fe5476f250538')
sha1sums=('10824b44c8060c7b9b5afc0b3519a1e9f02f7fe5')
@@ -30,9 +29,9 @@ build() {
}
package_ruby() {
- depends=('gdbm' 'db' 'openssl' 'zlib' 'readline' 'libffi')
+ depends=('openssl' 'libffi')
provides=('rubygems' 'rake')
- conflicts=('rubygems' 'rake')
+ conflicts=('rake')
optdepends=('tk: for Ruby/TK')
cd "${srcdir}/${pkgbase}-${pkgver//_/-}"
@@ -46,5 +45,5 @@ package_ruby-docs() {
cd "${srcdir}/${pkgbase}-${pkgver//_/-}"
make -j1 DESTDIR="${pkgdir}" install-doc install-capi
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/ruby-docs/LICENSE"
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}