# Maintainer: Steven Seifried # Contributor: Steven Seifried pkgname=tuxedo-keyboard pkgver=3.0.4 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 tuxedo_io.conf) sha256sums=('eae76400b6022421018756a3c7569d9afc4586dba7bc7f65cb75033312d1400e' 'd94d305bfd2767ad047bc25cc5ce986e76804e7376c3dd4d8e500ebe2c7bef3c') sha512sums=('b37e38edcd4b098b8b2769dd65edbf48e8f7f3ff03edfc780a6ededd091e3efcb98df29cfe4a74b027b173a9a2186bac1ef8a2854c1daf3e4785c0c8c1aeac08' '3101d1063e9c45eccb505fa21578cba33ae5c85b3d5b1c62c90806ad9d7b04410c91ded7a7115a85d1f6ecbd90ccc9e5f2ecf269dac4a557baa017a629bbcf81') 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" install -Dm644 "${srcdir}"/tuxedo_io.conf "${pkgdir}/etc/modules-load.d/tuxedo_io.conf" }