diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -7,7 +7,7 @@ pkgname=ruby2.2 pkgver=2.2.7 pkgdesc='An object-oriented language for quick and easy programming' -pkgrel=2 +pkgrel=3 arch=(i686 x86_64) url='http://www.ruby-lang.org/en/' license=(BSD custom) @@ -15,7 +15,12 @@ depends=(gdbm openssl-1.0 libffi libyaml gmp zlib) optdepends=('tk: for Ruby/TK') makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk) options=(!emptydirs) -source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz) +source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz gcc7.patch) + +prepare() { + cd ruby-${pkgver} + patch -p1 < ../gcc7.patch +} build() { cd ruby-${pkgver} @@ -59,4 +64,5 @@ package() { install -D -m644 COPYING "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" install -D -m644 BSDL "${pkgdir}/usr/share/licenses/$pkgname/BSDL" } -sha256sums=('234c8aee6543da9efd67008e6e7ee740d41ed57a52e797f65043c3b5ec3bcb53') +sha256sums=('234c8aee6543da9efd67008e6e7ee740d41ed57a52e797f65043c3b5ec3bcb53' + '9647f5c9755358d2997a14c6fce17bd3ee898dc1ad22b5f93dcf51d9d630ad1f') |