24 lines
754 B
Bash
24 lines
754 B
Bash
# Template file for 'openrgb'
|
|
pkgname=openrgb
|
|
version=0.8
|
|
revision=1
|
|
build_style=qmake
|
|
hostmakedepends="qt5-qmake qt5-host-tools git pkg-config"
|
|
makedepends="qt5-devel libusb-devel hidapi-devel mbedtls-devel"
|
|
short_desc="Open source RGB lighting control"
|
|
maintainer="Neel Chotai <neel@chot.ai>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://gitlab.com/CalcProgrammer1/OpenRGB"
|
|
distfiles="https://gitlab.com/CalcProgrammer1/OpenRGB/-/archive/release_${version}/OpenRGB-release_${version}.tar.gz"
|
|
checksum=0d803753873ca1ec2bd78632b4ac605669394e7eeba2d2efe305c7f9c9d7df0c
|
|
|
|
pre_build() {
|
|
sed -i 's|rules.path=/lib|rules.path=/usr/lib|g' OpenRGB.pro
|
|
}
|
|
|
|
post_install() {
|
|
vdoc README.md
|
|
vinstall ${FILESDIR}/openrgb.conf 644 usr/lib/modules-load.d
|
|
vsv openrgb
|
|
}
|