void-packages/srcpkgs/void-docs/template

26 lines
694 B
Bash

# Template file for 'void-docs'
pkgname=void-docs
version=2021.10.06
revision=1
hostmakedepends="mdBook lowdown 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=5f3db259b20242642e607a6241fdc6d64e89fb4e3546080deaa9faf0fec99bb3
do_build() {
PREFIX=/usr res/build.sh
}
do_install() {
PREFIX=/usr DESTDIR=$DESTDIR res/install.sh
}
void-docs-browse_package() {
depends="${sourcepkg}>=${version}_${revision} pick lowdown"
short_desc+=" - browsing utilities"
build_style=meta
}