🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
pkgname: ruby
pkgver: '4.0.7'
pkgrel: 1
pkgdesc: An object-oriented language for quick and easy programming
url: 'https://www.ruby-lang.org'
arch: x86_64
license:
- Ruby
- BSD-2-Clause
depends:
- openssl
- yaml
- libxcrypt
- gmp
- libffi
makedepends:
- doxygen
- openssl
- yaml
- libxcrypt
source:
- "https://cache.ruby-lang.org/pub/ruby/4.0/ruby-${pkgver}.tar.xz"
sha256sums:
- 47ef59413f7a4587ba6a6b78b14036eb5e36eec2ec0b90964801e88d56a3d375
build: |
cd ${pkgname}-${pkgver}
# Flagi zapobiegające błędom C99/C11 na nowszych wersjach GCC
export CFLAGS="${CFLAGS} -fPIC"
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--enable-shared \
--enable-install-doc \
--docdir=/usr/share/doc/${pkgname}
make
make capi
package: |
cd ${pkgname}-${pkgver}
make DESTDIR="${PKGDIR}" install
install -Dm644 COPYING "${PKGDIR}/usr/share/licenses/${pkgname}/COPYING"
install -Dm644 BSDL "${PKGDIR}/usr/share/licenses/${pkgname}/BSDL"