ruby 3.3.5-1

This commit is contained in:
xhaa123 2024-10-16 01:46:10 +08:00
parent 002024a7a8
commit e73e355e98

View File

@ -5,7 +5,7 @@
# Maintainer: Future Linux Team <future_linux@163.com>
pkgname=ruby
pkgver=3.3.0
pkgver=3.3.5
pkgrel=1
pkgdesc="An object-oriented language for quick and easy programming"
arch=('x86_64')
@ -14,7 +14,7 @@ license=('BSD' 'custom')
depends=('gdbm' 'openssl' 'libffi' 'libyaml' 'libxcrypt' 'gmp' 'zlib')
options=('!emptydirs' '!lto')
source=(https://cache.ruby-lang.org/pub/ruby/${pkgver/%.*}/${pkgname}-${pkgver}.tar.xz)
sha256sums=(676b65a36e637e90f982b57b059189b3276b9045034dcd186a7e9078847b975b)
sha256sums=(51aec7ea89b46125a2c9adc6f36766b65023d47952b916b1aed300ddcc042359)
build() {
cd ${pkgname}-${pkgver}
@ -22,13 +22,13 @@ build() {
export CFLAGS="${CFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
export CXXFLAGS="${CXXFLAGS/_FORTIFY_SOURCE=3/_FORTIFY_SOURCE=2}"
${CONFIGURE} \
--disable-rpath \
--enable-shared \
--without-valgrind \
--without-baseruby \
ac_cv_func_qsort_r=no \
--docdir=/usr/share/doc/${pkgname}-${pkgver}
${CONFIGURE} \
--disable-rpath \
--enable-shared \
--without-valgrind \
--without-baseruby \
ac_cv_func_qsort_r=no \
--docdir=/usr/share/doc/${pkgname}-${pkgver}
make capi
}