racket: re-add documentation

closes #13437
This commit is contained in:
newbluemoon 2018-04-13 09:10:42 +02:00 committed by Enno Boland
parent d9554fa780
commit 2d868e0083
1 changed files with 10 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'racket'
pkgname=racket
version=6.12
revision=2
revision=3
build_style=gnu-configure
build_wrksrc=src
hostmakedepends="gsfonts"
@ -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"
if [ "$CROSS_BUILD" ]; then
configure_args+=" --enable-racket=/usr/bin/racket"
@ -38,3 +37,12 @@ pre_configure() {
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
}
}