29 lines
689 B
Bash
29 lines
689 B
Bash
# Template file for 'void-docs'
|
|
pkgname=void-docs
|
|
version=2020.12.23
|
|
revision=1
|
|
hostmakedepends="mdBook fd pandoc texlive perl perl-JSON librsvg-utils"
|
|
short_desc="Documentation for Void Linux"
|
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
|
license="CC-BY-SA-4.0"
|
|
homepage="https://github.com/void-linux/void-docs"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=bc6f25392b14b3de33378fbfe84a93e4838cba21603cc9d742fd842ab32c4db5
|
|
|
|
export PREFIX=/usr
|
|
|
|
do_build() {
|
|
res/build.sh
|
|
}
|
|
|
|
do_install() {
|
|
export DESTDIR
|
|
res/install.sh
|
|
}
|
|
|
|
void-docs-browse_package() {
|
|
depends="${sourcepkg}>=${version}_${revision} skim mdcat"
|
|
short_desc+=" - browsing utilities"
|
|
build_style=meta
|
|
}
|