void-packages/srcpkgs/tuxedo-keyboard/template

22 lines
771 B
Bash

# Template file for 'tuxedo-keyboard'
pkgname=tuxedo-keyboard
version=3.2.11
revision=1
depends="dkms"
short_desc="TUXEDO kernel module drivers for keyboard & general hardware I/O"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/tuxedocomputers/tuxedo-keyboard"
distfiles="https://github.com/tuxedocomputers/tuxedo-keyboard/archive/v${version}.tar.gz"
checksum=bb2513a7b07b5a304cb5dce2cec05ab04aa4a2aefff594836d5695b66a04772f
dkms_modules="tuxedo-keyboard ${version}"
do_install() {
vmkdir usr/src/${pkgname}-${version}
vcopy src usr/src/${pkgname}-${version}
vcopy dkms.conf usr/src/${pkgname}-${version}
vcopy Makefile usr/src/${pkgname}-${version}
vinstall tuxedo_keyboard.conf 644 usr/lib/modprobe.d/
}