void-packages/srcpkgs/tuxedo-keyboard/template

22 lines
770 B
Bash

# Template file for 'tuxedo-keyboard'
pkgname=tuxedo-keyboard
version=3.1.1
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=506de8c4076e42f51e2b0b6c0ffe48a3cc829d50a7c07f6a15a45e29fc3afc38
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/
}