void-packages/srcpkgs/openrgb/template

24 lines
759 B
Bash

# Template file for 'openrgb'
pkgname=openrgb
version=0.9
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="Orphaned <orphan@voidlinux.org>"
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=2e62799339b72b6d3afc4792e6ff39487583210bb5ddde93e2daa38ae35381c2
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
}