# 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.3.0
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 .
}
