diff --git a/srcpkgs/ruby-devel-docs b/srcpkgs/ruby-devel-docs new file mode 120000 index 00000000000..a38a43ef7ab --- /dev/null +++ b/srcpkgs/ruby-devel-docs @@ -0,0 +1 @@ +ruby \ No newline at end of file diff --git a/srcpkgs/ruby/template b/srcpkgs/ruby/template index 7cf5b5b2d7f..5b31ca6f1bf 100644 --- a/srcpkgs/ruby/template +++ b/srcpkgs/ruby/template @@ -4,7 +4,7 @@ _ruby_ver="2.0.0" _ruby_distpatchver="p195" _ruby_distver="${_ruby_ver}-${_ruby_distpatchver}" version=${_ruby_ver}${_ruby_distpatchver} -revision=1 +revision=2 wrksrc="${pkgname}-${_ruby_distver}" short_desc="Ruby programming language" homepage="http://www.ruby-lang.org/en/" @@ -33,6 +33,14 @@ if [ "$CROSS_BUILD" ]; then } fi +ruby-devel-docs_package() { + short_desc+=" - HTML C API documentation files" + noarch=yes + pkg_install() { + vmove usr/share/doc + } +} + ruby-devel_package() { depends="ruby-${version}_${revision}" short_desc+=" - development files" @@ -40,7 +48,6 @@ ruby-devel_package() { vmove usr/include vmove "usr/lib/*.a" vmove usr/lib/ruby/2.0.0/mkmf.rb - vmove usr/share/doc vmove usr/lib/pkgconfig } }