🔒 Repository is read-only – file editing is disabled.

recipes/utils/ruby/PAGBUILD.yaml main

32 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132
pkgname: ruby
pkgver: '4.0.6'
pkgrel: 1
pkgdesc: An object-oriented language for quick and easy programming
url: 'https://ruby-lang.org'
arch: x86_64
license:
- BSD custom
depends: []
makedepends:
- doxygen
- openssl
- yaml
- libxcrypt
source:
- ruby-4.0.5-openssl4_fixes-1.patch
- 'https://cache.ruby-lang.org/pub/ruby/4.0/ruby-${pkgver}.tar.xz'
sha256sums:
- SKIP
- 9c9d121fe3314ea7c801e690b9de981d2b9d12d7849db99c27482468a541ba0a
build: |
  cd ${pkgname}-${pkgver}
  patch -Np1 -i ../ruby-4.0.5-openssl4_fixes-1.patch
  ./configure --prefix=/usr --enable-shared \
    --docdir=/usr/share/doc/${pkgname}
  make
  make capi
package: |-
  cd ${pkgname}-${pkgver}
  make DESTDIR=${PKGDIR} install
  install -D -m644 COPYING ${PKGDIR}/usr/share/licenses/ruby/LICENSE
  install -D -m644 BSDL ${PKGDIR}/usr/share/licenses/ruby/BSDL