diff --git a/srcpkgs/racket-doc b/srcpkgs/racket-doc new file mode 120000 index 00000000000..3008fe60589 --- /dev/null +++ b/srcpkgs/racket-doc @@ -0,0 +1 @@ +racket \ No newline at end of file diff --git a/srcpkgs/racket/template b/srcpkgs/racket/template index 803f497b516..2dfd19c0a01 100644 --- a/srcpkgs/racket/template +++ b/srcpkgs/racket/template @@ -14,7 +14,6 @@ homepage="http://racket-lang.org/" distfiles="http://mirror.racket-lang.org/installers/$version/$pkgname-$version-src.tgz" checksum=655e052847c53e7c64ab9ad2247860c7b9abe2c4b0966474f0375127fff58c33 nostrip=yes -configure_args="--disable-docs" only_for_archs="i686 x86_64 armv5tel armv6l armv7l aarch64" if [ "$CROSS_BUILD" ]; then @@ -25,3 +24,12 @@ fi post_install() { vlicense COPYING-libscheme.txt } + +racket-doc_package() { + noarch=yes + short_desc+=" -- documentation" + depends="racket>=${version}_${revision}" + pkg_install() { + vmove usr/share/doc/racket + } +}