diff --git a/srcpkgs/python3-cog/template b/srcpkgs/python3-cog/template new file mode 100644 index 00000000000000..feb8d216c0275e --- /dev/null +++ b/srcpkgs/python3-cog/template @@ -0,0 +1,17 @@ +# Template file for 'python3-cog' +pkgname=python3-cog +version=3.6.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Small bits of Python computation for static files" +maintainer="clizia " +license="MIT" +homepage="https://cog.readthedocs.io/" +distfiles="https://github.com/nedbat/cog/archive/refs/tags/v${version}.tar.gz" +checksum="cc25f63b998c61cd25a5acece44014867079dabb6cc7d910c18efb10c84bcf90" + +post_install() { + vlicense LICENSE.txt +} diff --git a/srcpkgs/qman/template b/srcpkgs/qman/template new file mode 100644 index 00000000000000..650866fffcf61f --- /dev/null +++ b/srcpkgs/qman/template @@ -0,0 +1,23 @@ +# Template file for 'qman' +pkgname=qman +version=1.5.1 +revision=1 +build_style=meson +configure_args="-Dtests=enabled" +hostmakedepends="cmake pkg-config python3-cog" +makedepends="CUnit-devel ncurses-devel zlib-devel bzip2-devel liblzma-devel" +depends="ncurses groff" +short_desc="Modern, full-featured manual page viewer" +maintainer="clizia " +license="BSD-2-Clause" +homepage="https://github.com/plp13/qman" +distfiles="https://github.com/plp13/qman/archive/refs/tags/v${version}.tar.gz" +checksum="e550958523d0fef90fd0123a61a8f10099ed0c9735e06d8152662d8965b5a0e1" + +post_install() { + vlicense LICENSE + + # configuration specific for Void Linux + # as specified in https://github.com/plp13/qman/blob/main/doc/OS_SPECIFIC.md#void-linux + vsed -i "$DESTDIR/etc/xdg/qman/qman.conf" -e '/misc/asystem_type=mandoc' +}