void-packages/srcpkgs/ruby/ruby-ri.template
Juan RP 877486087d ruby: update to 1.9.1p376, convert to subpkgs.
--HG--
extra : convert_revision : 6b9c35be4ef930df22d81d2a2263710302c89313
2010-02-18 04:47:45 +01:00

25 lines
766 B
Text

# Template file for 'ruby-ri'.
#
short_desc="Ruby Interactive reference"
long_desc="
ri is a command line tool that displays descriptions of built-in Ruby
methods, classes, and modules. For methods, it shows you the calling
sequence and a description. For classes and modules, it shows a synopsis
along with a list of the methods the class or module implements.
This package provides ri command and descriptions about Ruby 1.9.1."
noarch=yes
Add_dependency run ruby-rdoc
Add_dependency run ruby
do_install()
{
mkdir -p ${DESTDIR}/usr/bin ${DESTDIR}/usr/share/man/man1
mv ${SRCPKGDESTDIR}/usr/bin/ri ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/share/ri ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/man/man1/ri* \
${DESTDIR}/usr/share/man/man1
}