summaryrefslogtreecommitdiff
path: root/extra/ruby/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ruby/PKGBUILD')
-rw-r--r--extra/ruby/PKGBUILD17
1 files changed, 6 insertions, 11 deletions
diff --git a/extra/ruby/PKGBUILD b/extra/ruby/PKGBUILD
index 2fbb4b46b..5795f61a6 100644
--- a/extra/ruby/PKGBUILD
+++ b/extra/ruby/PKGBUILD
@@ -10,26 +10,21 @@ arch=('i686' 'x86_64' 'mips64el')
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')
+options=('!emptydirs' '!makeflags' 'staticlibs')
+source=("http://cache.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver//_/-}.tar.bz2"
+ 'gemrc')
md5sums=('60913f3eec0c4071f44df42600be2604'
- '6fb8e7a09955e0f64be3158fb4a27e7a'
- 'b93ff50214a3da26525244cf37b71a8f')
+ '6fb8e7a09955e0f64be3158fb4a27e7a')
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
+ --disable-rpath \
+ --with-dbm-type=gdbm_compat
make
}