void-packages/srcpkgs/tuxedo-keyboard/template

22 lines
770 B
Bash

# Template file for 'tuxedo-keyboard'
pkgname=tuxedo-keyboard
version=3.1.3
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=6db8d0f9b1148c278b10f4f046e99370be1fa72aa8e3fc8db363168fe1b39e3e
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/
}