27 lines
746 B
Bash
27 lines
746 B
Bash
# Template file for 'g810-led'
|
|
pkgname=g810-led
|
|
version=0.3.5
|
|
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=8a971be4b77111aa54b250a39b6fcead78188f46999b2aa9b8280c2506753e69
|
|
|
|
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
|
|
}
|