22 lines
634 B
Bash
22 lines
634 B
Bash
# Template file for 'mdBook'
|
|
pkgname=mdBook
|
|
version=0.0.26
|
|
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"
|
|
checksum=99d6572c371e01751f37cc7e23c7dbf626045aee3c8e4953b1333d1779533022
|
|
nocross="This cannot be cross compiled due to limitations in cargo."
|
|
|
|
do_build() {
|
|
cargo build --release
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/mdbook
|
|
vlicense LICENSE
|
|
}
|