community/ruby2.3 to 2.3.4-2

This commit is contained in:
Kevin Mihelich 2017-04-24 18:59:26 +00:00
parent a045cf2a6c
commit 9b6d16608b

View file

@ -11,25 +11,25 @@
_rubyver=2.3
pkgname=ruby2.3
pkgver=${_rubyver}.3
pkgver=${_rubyver}.4
pkgdesc='An object-oriented language for quick and easy programming'
pkgrel=3
pkgrel=2
arch=(i686 x86_64)
url='http://www.ruby-lang.org/en/'
license=(BSD custom)
depends=(gdbm openssl libffi libyaml gmp zlib)
depends=(gdbm openssl-1.0 libffi libyaml gmp zlib)
optdepends=('tk: for Ruby/TK')
makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk)
makedepends=(gdbm openssl-1.0 libffi doxygen graphviz libyaml ttf-dejavu tk)
options=(!emptydirs)
source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz
0002-Use-only-unsigned-long-for-rb_serial_t.patch)
sha256sums=('1a4fa8c2885734ba37b97ffdb4a19b8fba0e8982606db02d936e65bac07419dc'
'78c0e1db467bcd69b4b74d114f229f62da65646583f5dfd11bb9558bc3b734db')
sha512sums=('9e3adc2de6703e50e75db37db2981006d4c69759929d61db6a0d63627cfe5977d0ad66d2c69d7161cfc0c0d1c2cb38e5181a06ccd2790df2f72ec25c2ad01e02'
'5b3a73b66ed35eb25997109076ec3146ff5f7f843b2e39e7a15b32349c3b38c6035668e8b5d6dd94d97030dea52187e481e8ccdcb6bfc7a79bb12043a322711e')
build() {
cd ruby-${pkgver}
#export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
# fixes https://bugs.ruby-lang.org/issues/9507
[[ $CARCH == 'arm' ]] && patch -Np1 -i ../0002-Use-only-unsigned-long-for-rb_serial_t.patch