void-packages/srcpkgs/tuxedo-drivers/template

27 lines
930 B
Bash

# Template file for 'tuxedo-drivers'
pkgname=tuxedo-drivers
version=4.10.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=21e247d08fca41def8392fb55a43a82fd93ab5d0dbb0798e53b6295622388c94
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
}