From 947066f952a4907a65f343dcd8e031ccd2951637 Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sat, 6 Feb 2021 01:16:47 +0200 Subject: [PATCH 1/2] New package: s6-networking-man-pages-2.4.0.0.1. --- srcpkgs/s6-networking-man-pages/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/s6-networking-man-pages/template diff --git a/srcpkgs/s6-networking-man-pages/template b/srcpkgs/s6-networking-man-pages/template new file mode 100644 index 00000000000..0f614906cc6 --- /dev/null +++ b/srcpkgs/s6-networking-man-pages/template @@ -0,0 +1,20 @@ +# Template file for 's6-networking-man-pages' +pkgname=s6-networking-man-pages +version=2.4.0.0.1 +revision=1 +build_style=gnu-makefile +hostmakedepends="mdocml" +short_desc="Mdoc versions of the documentation for the s6-networking suite" +maintainer="mobinmob " +license="ISC" +homepage="https://github.com/flexibeast/s6-networking-man-pages" +distfiles="https://github.com/flexibeast/s6-networking-man-pages/archive/v${version}.tar.gz" +checksum=d7de2f957873fae4fd14d3aac9d0621f70cf513fcee91d2c42e119eaee4a5f10 + + +do_install() { + vmkdir usr/share/man/man1 + vmkdir usr/share/man/man7 + make MANPATH="${DESTDIR}/usr/share/man" install-man + vlicense LICENSE +} From 08d64eb24d91b4019d02d4ff7d986f444adf470a Mon Sep 17 00:00:00 2001 From: mobinmob Date: Sat, 6 Feb 2021 01:19:56 +0200 Subject: [PATCH 2/2] s6-networking: add s6-networking-man-pages as a dep to the -doc subpackage. --- srcpkgs/s6-networking/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/s6-networking/template b/srcpkgs/s6-networking/template index 75ac1c3aa1f..969f65823f1 100644 --- a/srcpkgs/s6-networking/template +++ b/srcpkgs/s6-networking/template @@ -1,7 +1,7 @@ # Template file for 's6-networking' pkgname=s6-networking version=2.4.0.0 -revision=1 +revision=2 build_style=configure configure_args="--libdir=/usr/lib $(vopt_if libressl --enable-ssl=libressl) $(vopt_if bearssl --enable-ssl=bearssl) @@ -38,7 +38,7 @@ post_install() { s6-networking-doc_package() { short_desc+=" - documentation" - depends="${sourcepkg}>=${version}_${revision}" + depends="${sourcepkg}>=${version}_${revision} s6-networking-man-pages" pkg_install() { vmove usr/share/doc }