New comment by m4rcu5 on void-packages repository https://github.com/void-linux/void-packages/issues/27677#issuecomment-860709400 Comment: Hi, Here is a working template. ``` # Template file for 'noisetorch' pkgname=noisetorch version=0.11.3 revision=1 archs="x86_64" wrksrc=NoiseTorch-${version} build_style=gnu-makefile hostmakedepends="go" depends="pulseaudio polkit" short_desc="Real-time microphone noise suppression on Linux" maintainer="Orphaned " license="GPL-3.0-or-later" homepage="https://github.com/lawl/NoiseTorch" distfiles="https://github.com/lawl/NoiseTorch/archive/${version}.tar.gz" checksum=b67155211278affc72f15d0ded9da560524e7bb0659012f9d41e69b531b9265c nopie=yes do_install() { vbin bin/noisetorch vinstall assets/noisetorch.desktop 644 usr/share/applications vinstall assets/icon/noisetorch.png 644 usr/share/icons/hicolor/256x256/apps } ``` And a companion `INSTALL` file. ``` case "${ACTION}" in post) setcap CAP_SYS_RESOURCE=+ep usr/bin/noisetorch ;; esac ```