mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
parent
8a4a78d6dc
commit
734a32bcda
1 changed files with 21 additions and 0 deletions
21
srcpkgs/mdBook/template
Normal file
21
srcpkgs/mdBook/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'mdBook'
|
||||
pkgname=mdBook
|
||||
version=0.0.21
|
||||
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=bffb39106ab9f546c7a02667aa3616c06f05dfb566ef4830f51fd244c7986239
|
||||
nocross="This cannot be cross compiled due to limitations in cargo."
|
||||
|
||||
do_build() {
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin target/release/mdbook
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Add table
Reference in a new issue