26 lines
746 B
Bash
26 lines
746 B
Bash
# Template file for 'g810-led'
|
|
pkgname=g810-led
|
|
version=0.3.9
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
makedepends="hidapi-devel"
|
|
short_desc="LED controller for Logitech G213,410,512,610,810,910,PRO keyboards"
|
|
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
|
|
license="GPL-3.0-only"
|
|
homepage="https://github.com/MatMoul/g810-led/"
|
|
distfiles="https://github.com/MatMoul/g810-led/archive/v${version}.tar.gz"
|
|
checksum=e08c3f411711dbaa0659d7b9d1ec9ab7c93d2e5a23352161092a83c7c8628b89
|
|
|
|
do_install() {
|
|
vbin bin/g810-led
|
|
for i in 210 410 413 512 513 610 910 pro; do
|
|
ln -s /usr/bin/g810-led $DESTDIR/usr/bin/g$i-led
|
|
done
|
|
vmkdir usr/lib
|
|
vcopy "lib/*.so.*" usr/lib
|
|
vdoc README.md
|
|
vdoc INSTALL.md
|
|
for i in sample_profiles/*; do
|
|
vsconf $i
|
|
done
|
|
}
|