# Maintainer: Steven Seifried # Contributor: Steven Seifried pkgname=tuxedo-keyboard pkgver=3.0.2 pkgrel=1 pkgdesc="Keyboard Backlight Driver from TUXEDO Computers" url="https://github.com/tuxedocomputers/tuxedo-keyboard" license=("GPL3") arch=('x86_64') depends=('dkms') optdepends=('linux-headers: build modules against Arch kernel' 'linux-lts-headers: build modules against LTS kernel' 'linux-zen-headers: build modules against ZEN kernel' 'linux-hardened-headers: build modules against the HARDENED kernel') provides=('tuxedo-keyboard' 'tuxedo-io') conflicts=('tuxedo-cc-wmi') replaces=('tuxedo-cc-wmi') backup=(etc/modprobe.d/tuxedo_keyboard.conf) source=($pkgname-$pkgver-tar.gz::https://github.com/tuxedocomputers/tuxedo-keyboard/archive/v${pkgver}.tar.gz) sha256sums=('4ee54918ef5729a91305e6abe16692449fe92f22349f27e09d6d0290e7bd0b51') sha512sums=('f1cf4f3ec4b1eb7173fd8292f14b3cc89d029e05ed5854ee8bd4341bab5de3b99ebd5f1651268ad580e2d505d987eb7958a9336b1d3c0737bf40221507098c73') package() { mkdir -p "${pkgdir}/usr/src/${pkgname}-${pkgver}" cp -r "${srcdir}/${pkgname}-${pkgver}"/* "${pkgdir}/usr/src/${pkgname}-${pkgver}" install -Dm644 "${srcdir}/${pkgname}-${pkgver}"/tuxedo_keyboard.conf "${pkgdir}/etc/modprobe.d/tuxedo_keyboard.conf" }