New comment by jaminW55 on void-packages repository https://github.com/void-linux/void-packages/issues/48156#issuecomment-1885404699 Comment: ``` # Template file for 'gazou' pkgname=gazou version=0.3.3 revision=1 build_style=cmake configure_args="-DGUI=ON" makedepends="qt5-devel tesseract-ocr-devel leptonica-devel qt5-x11extras-devel" hostmakedepends="pkg-config" short_desc="Japanese and Chinese OCR application" maintainer="jaminW " license="GPL-3.0" homepage="https://github.com/kamui-fin/gazou" distfiles="https://github.com/kamui-fin/gazou/archive/refs/tags/v${version}.tar.gz" checksum=b939ebfaca7fa5703025328c5cb670e8718aaeace11eaadcbde506b0eb6c04e2 #if [ "$build_option_gui" ]; then # makedepends+=" qhotkey-devel" #fi do_fetch() { # Clone the repository with submodules git clone --recursive https://github.com/kamui-fin/gazou.git ${wrksrc} cd ${wrksrc} git submodule init git submodule update } do_configure() { cmake ${wrksrc} ${configure_args} -DBUILD_TESTING=OFF } do_build() { make } do_install() { make DESTDIR=${DESTDIR} install } ``` I've started this one myself, but have had some issues building. I used the Nixpkg as my guide, which was built by me, but couldn't seem to fix the build issues. I referred to some other templates as reference and had it cross checked by a friend for some build specifics (I'm not entirely certain on the submodule part). Primarily it seems to be failing on the qhotkey program, which is a separate program used by Gazou. I tried doing some things with it, but the template became very confusing and nothing was gained, so I've just kept a single, commented out line as reference. Hopefully this template could help expedite the process?