New package: void-docs-2020.08.18.

Closes: #21453 [via git-merge-pr]
This commit is contained in:
Érico Rolim 2020-04-29 02:17:02 -03:00 committed by Andrew J. Hesford
parent 12c6fabefc
commit 5bb1fceffe
2 changed files with 30 additions and 0 deletions

1
srcpkgs/void-docs-browse Symbolic link
View file

@ -0,0 +1 @@
void-docs

View file

@ -0,0 +1,29 @@
# Template file for 'void-docs'
pkgname=void-docs
version=2020.08.18
revision=1
archs=noarch
hostmakedepends="mdBook fd pandoc texlive perl perl-JSON"
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=52b621a3d15ba4c5f5a33a6c1a27efa5bde9739334d277f22026bfd603f6f24b
export PREFIX=/usr
do_build() {
res/build.sh
}
do_install() {
export DESTDIR
res/install.sh
}
void-docs-browse_package() {
depends="${sourcepkg}>=${version}_${revision} fzf mdcat"
short-desc+=" - browsing utilities"
build_style=meta
}