Skip to content

Commit 0da1aee

Browse files
committed
New package: mdBook-legacy-0.4.35.
workaround for theme incompatibilities in newer mdbook versions Ref: void-linux/void-docs#840 Ref: void-linux/void-docs#841
1 parent f4c8d6a commit 0da1aee

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

srcpkgs/mdBook-legacy/template

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Template file for 'mdBook-legacy'
2+
pkgname=mdBook-legacy
3+
version=0.4.35
4+
revision=1
5+
build_style=cargo
6+
short_desc="Create book from markdown files. Like Gitbook but implemented in Rust"
7+
maintainer="classabbyamp <[email protected]>"
8+
license="MPL-2.0"
9+
homepage="https://github.com/rust-lang/mdBook"
10+
changelog="https://raw.githubusercontent.com/rust-lang/mdBook/master/CHANGELOG.md"
11+
distfiles="https://github.com/rust-lang/mdBook/archive/refs/tags/v${version}.tar.gz"
12+
checksum=2fcefce12acc957c1d604e60c309502b9ec37040f6f70656f12c81374ff27bd4
13+
14+
short_desc+=" - legacy version for void-docs"
15+
16+
post_install() {
17+
vlicense LICENSE
18+
mv "${DESTDIR}"/usr/bin/mdbook "${DESTDIR}"/usr/bin/mdbook-legacy
19+
}

0 commit comments

Comments
 (0)