blob: 43d7be45fbd043a4d507776d4538c5ec4f81a307 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Steven Seifried <gitlab@canox.net>
# Contributor: Steven Seifried <gitlab@canox.net>
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"
}
|