84d1e31fe7
And switch void-docs-browse to fully portable C-only dependencies.
25 lines
694 B
Bash
25 lines
694 B
Bash
# Template file for 'void-docs'
|
|
pkgname=void-docs
|
|
version=2021.05.09
|
|
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=96f6676bfbff213a9862c245227641da1723b4ca2d775582cb3a08a518ff4df9
|
|
|
|
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
|
|
}
|