opt/ruby-doc/Pkgfile

15 lines
399 B
Plaintext

# Description: Data files for the ri documentation system of Ruby
# URL: http://www.ruby-lang.org
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: ruby
name=ruby-doc
version=3.2.2
release=1
source=(https://cache.ruby-lang.org/pub/ruby/${version%.*}/ruby-$version.tar.xz)
build() {
cd ruby-$version
rdoc --encoding=UTF-8 --all --ri --op $PKG/usr/share/ri/${version%.*}/system .
}