summaryrefslogtreecommitdiff
path: root/extra/ruby/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ruby/PKGBUILD')
-rw-r--r--extra/ruby/PKGBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD
index 760386762..569199096 100644
--- a/extra/ruby/PKGBUILD
+++ b/extra/ruby/PKGBUILD
@@ -9,10 +9,12 @@ pkgname=('ruby' 'ruby-docs')
pkgver=1.9.3_p0
pkgrel=2
pkgdesc="An object-oriented language for quick and easy programming"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.ruby-lang.org/en/"
license=('BSD' 'custom')
makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml')
+[ "$CARCH" = "mips64el" ] && \
+makedepends=('openssl' 'tk' 'libffi' 'doxygen' 'libyaml')
options=('!emptydirs' '!makeflags')
source=(ftp://ftp.ruby-lang.org/pub/${pkgbase}/${pkgver%.*}/${pkgbase}-${pkgver//_/-}.tar.bz2)
sha1sums=('f63c116411b981ef54c2caeefb9ccc4d71a5d2cf')
@@ -44,3 +46,6 @@ package_ruby-docs() {
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -D -m644 BSDL "${pkgdir}/usr/share/licenses/${pkgname}/BSDL"
}
+md5sums=('096758c3e853b839dc980b183227b182')
+md5sums=('65401fb3194cdccd6c1175ab29b8fdb8')
+sha1sums=('f63c116411b981ef54c2caeefb9ccc4d71a5d2cf')