25 lines
788 B
Bash
25 lines
788 B
Bash
# Template file for 'openrgb'
|
|
pkgname=openrgb
|
|
version=0.7
|
|
revision=1
|
|
wrksrc=OpenRGB-release_${version}
|
|
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=6052e04ad736f94a91a386f6cfc0aaff9554fafdabe99cdd46a296fd49132569
|
|
|
|
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
|
|
}
|