void-packages/srcpkgs/tuxedo-drivers/template

27 lines
930 B
Bash

# Template file for 'tuxedo-drivers'
pkgname=tuxedo-drivers
version=4.11.6
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=952750571fdf419a6c69f941dc18f740d06ee6f0c656e313a91d5cac3ce822ff
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
}