void-packages/srcpkgs/tuxedo-drivers/template

27 lines
928 B
Bash
Raw Normal View History

# Template file for 'tuxedo-drivers'
pkgname=tuxedo-drivers
2024-06-29 08:33:15 +02:00
version=4.5.3
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"
2024-06-29 08:33:15 +02:00
checksum=73700f70eb6f90519d99e1fdc34f5ebdeeb6f079945d169f1dae8efaaf85cf97
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
}