racket: add -doc subpackage
This commit is contained in:
parent
593882a418
commit
10bd9810b7
|
@ -0,0 +1 @@
|
||||||
|
racket
|
|
@ -14,7 +14,6 @@ homepage="http://racket-lang.org/"
|
||||||
distfiles="http://mirror.racket-lang.org/installers/$version/$pkgname-$version-src.tgz"
|
distfiles="http://mirror.racket-lang.org/installers/$version/$pkgname-$version-src.tgz"
|
||||||
checksum=655e052847c53e7c64ab9ad2247860c7b9abe2c4b0966474f0375127fff58c33
|
checksum=655e052847c53e7c64ab9ad2247860c7b9abe2c4b0966474f0375127fff58c33
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
configure_args="--disable-docs"
|
|
||||||
only_for_archs="i686 x86_64 armv5tel armv6l armv7l aarch64"
|
only_for_archs="i686 x86_64 armv5tel armv6l armv7l aarch64"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
@ -25,3 +24,12 @@ fi
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING-libscheme.txt
|
vlicense COPYING-libscheme.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
racket-doc_package() {
|
||||||
|
noarch=yes
|
||||||
|
short_desc+=" -- documentation"
|
||||||
|
depends="racket>=${version}_${revision}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/share/doc/racket
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue