New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/47715#issuecomment-1853790682 Comment: Just follow their rpm rules. ```sh # Template file for 'tuxedo-drivers' pkgname=tuxedo-drivers version=4.0.0 revision=1 depends="dkms" short_desc="TUXEDO kernel module drivers for keyboard & general hardware I/O" maintainer="newbluemoon " license="GPL-3.0-or-later" homepage="https://github.com/tuxedocomputers/tuxedo-drivers" distfiles="https://github.com/tuxedocomputers/tuxedo-drivers/archive/v${version}.tar.gz" checksum=417a2f13c2cfe15a44de566ce6ff6b942ed6641ae16c7daa264458b2d3aefdc9 dkms_modules="tuxedo-keyboard ${version}" # this pkg is broken with linux6.1 while tuxedo-keyboard works with linux6.1 replaces="tuxedo-keyboard>=0" provides="tuxedo-keyboard-${version}_${revision}" do_build() { sed "s/#MODULE_VERSION#/${version}/" \ debian/tuxedo-drivers.dkms >src/dkms.conf } do_install() { vmkdir usr/src/${pkgname}-${version} vcopy "src/*" usr/src/${pkgname}-${version} vinstall tuxedo_keyboard.conf 644 usr/lib/modprobe.d/ } ```