summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4ed90e7afe2f109a7375b6dbeb1f78e5cfad01a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Onur Alp Akin <onralpakin@gmail.com>
pkgname=l5p-kbl-git
pkgver=1.0
pkgrel=1
pkgdesc="Lenovo Legion 5 Pro 2021 Linux Keyboard Light Controller"
arch=('any')
url="https://github.com/imShara/l5p-kbl"
license=('unknown')
depends=('python' 'python-pyusb')
makedepends=('git')
source=("git+${url}")
md5sums=('SKIP')

package() {
	cd ${pkgname%-git}

    install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
	install -Dm 755 l5p_kbl.py "${pkgdir}/usr/bin/l5p-kbl"
}