2017-11-28 04:35:50 +01:00
|
|
|
# Template file for 'mdBook'
|
|
|
|
pkgname=mdBook
|
2017-12-08 20:37:16 +01:00
|
|
|
version=0.0.27
|
2017-11-28 04:35:50 +01:00
|
|
|
revision=1
|
|
|
|
hostmakedepends="cargo"
|
|
|
|
short_desc="Create book from markdown files. Like Gitbook but implemented in Rust"
|
|
|
|
maintainer="Huidong Hwang <hwangh95@gmail.com>"
|
|
|
|
license="MPL-2.0"
|
|
|
|
homepage="https://github.com/rust-lang-nursery/${pkgname}"
|
|
|
|
distfiles="https://github.com/rust-lang-nursery/${pkgname}/archive/${version}.tar.gz"
|
2017-12-08 20:37:16 +01:00
|
|
|
checksum=5e79e5cd36e84a4a88948dd0c62b02c58dd698e8d72ee73e317b5b56abaa8ca9
|
2017-11-28 04:35:50 +01:00
|
|
|
nocross="This cannot be cross compiled due to limitations in cargo."
|
|
|
|
|
|
|
|
do_build() {
|
|
|
|
cargo build --release
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin target/release/mdbook
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|