void-packages/srcpkgs/void-docs/template

26 lines
750 B
Bash

# Template file for 'void-docs'
pkgname=void-docs
version=2023.06.28
revision=1
hostmakedepends="mdBook lowdown texlive perl perl-JSON perl-File-Which 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="https://github.com/void-linux/void-docs/archive/refs/tags/${version}.tar.gz"
checksum=2d0ba314a5ee9d8f13ddcf430580de1bd56bd7c46346111c8f3ca114d934f6cf
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
}