void-packages/srcpkgs/tuxedo-drivers/template

27 lines
929 B
Bash

# Template file for 'tuxedo-drivers'
pkgname=tuxedo-drivers
version=4.7.0
revision=1
depends="dkms"
short_desc="TUXEDO hardware drivers"
maintainer="newbluemoon <blaumolch@mailbox.org>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers"
distfiles="https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers/-/archive/v${version}/tuxedo-drivers-v${version}.tar.gz"
checksum=ce58475e394ef4dff810dbc2a62f08004120c5f5b96159c245e427eae2e7fec3
dkms_modules="tuxedo-drivers ${version}"
do_install() {
sed "s/#MODULE_VERSION#/${version}/" debian/tuxedo-drivers.dkms > src/dkms.conf
vmkdir usr/src/${pkgname}-${version}
vcopy src/* usr/src/${pkgname}-${version}
vinstall tuxedo_keyboard.conf 644 usr/lib/modprobe.d/
}
tuxedo-keyboard_package() {
depends="tuxedo-drivers>=${version}_${revision}"
short_desc+=" - transitional dummy package"
build_style=meta
}