26 lines
750 B
Bash
26 lines
750 B
Bash
# Template file for 'void-docs'
|
|
pkgname=void-docs
|
|
version=2024.03.14
|
|
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=9cdc06ad3b23445763b7838221943b17f05c78d54ff4a89825d3b5639ededc44
|
|
|
|
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
|
|
}
|