blob: 62997e19ac4744a5bb5605d9b8eb90c7b87c3211 (
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
28
29
30
31
32
|
# Maintainer: Robin Lange <robin.langenc@gmail.com>
# Contributor: Robin Lange <robin.langenc@gmail.com>
pkgname=msi-perkeyrgb
pkgver=2.1
pkgrel=2
pkgdesc="Configuration tool for SteelSeries per-key RGB keyboards on MSI laptops"
arch=('any')
url="https://github.com/Askannz/msi-perkeyrgb"
license=('MIT')
depends=('python' 'hidapi' 'python-setuptools')
makedepends=('python-setuptools')
source=("git+https://github.com/Askannz/msi-perkeyrgb.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cd "${srcdir}/msi-perkeyrgb/"
python setup.py build
}
package() {
cd "${srcdir}/msi-perkeyrgb/"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 99-msi-rgb.rules "$pkgdir/etc/udev/rules.d/99-msi-rgb.rules"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|