From 7f47ec23169fb72df4eab042e96dd3b44b4dd330 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 5 Nov 2022 02:39:03 +0000 Subject: [PATCH] community/ruby to 3.0.4-20 --- community/ruby/PKGBUILD | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/community/ruby/PKGBUILD b/community/ruby/PKGBUILD index 1e5757ce5..d26b6b08e 100644 --- a/community/ruby/PKGBUILD +++ b/community/ruby/PKGBUILD @@ -11,14 +11,27 @@ pkgname=(ruby ruby-docs ruby-stdlib ruby-bundledgems) pkgver=3.0.4 -pkgrel=18 +pkgrel=20 arch=(x86_64) url='https://www.ruby-lang.org/en/' license=(BSD custom) makedepends=(gdbm openssl libffi doxygen graphviz libyaml ttf-dejavu tk) options=(debug !emptydirs !lto) # Disable LTO until fixes for https://bugs.ruby-lang.org/issues/18062 released -source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz) -sha512sums=('53bf7dd403b0c68af9691882ad8ed7422c8d1f496627428fb4c3caf0b0313715524b744c5f453aced2d49e16e55f3f45b46b9a77aa3097dbfcae7caa0208194b') +_osslver=3.0.0 +source=(https://cache.ruby-lang.org/pub/ruby/${pkgver:0:3}/ruby-${pkgver}.tar.xz + ruby-openssl-$_osslver.tar.xz::https://github.com/ruby/openssl/archive/refs/tags/v$_osslver.tar.gz) +sha512sums=('53bf7dd403b0c68af9691882ad8ed7422c8d1f496627428fb4c3caf0b0313715524b744c5f453aced2d49e16e55f3f45b46b9a77aa3097dbfcae7caa0208194b' + '076d2924b61c4f7704b47718a33732fb5285a3af39f328ed9e83add36589da99dfae73b3e893398fc3f2a74dcbead0b66edc682040fa1b48f9530894c7187f95') + + +prepare() { + cd ruby-${pkgver} + rm -rf ext/openssl test/openssl + mv ../openssl-$_osslver/ext/openssl ext + mv ../openssl-$_osslver/lib ext/openssl + mv ../openssl-$_osslver/{History.md,openssl.gemspec} ext/openssl + mv ../openssl-$_osslver/test/openssl test +} build() { cd ruby-${pkgver}