26 lines
746 B
Bash
26 lines
746 B
Bash
# Template file for 'g810-led'
|
|
pkgname=g810-led
|
|
version=0.4.2
|
|
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=feeec1c214c80d0fc75a16dcf5a1d20e49cc2ee407d97fd52d0caa4a0a395e9c
|
|
|
|
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
|
|
}
|