void-packages/srcpkgs/ckb-next/template

30 lines
791 B
Bash

# Template file for 'ckb-next'
pkgname=ckb-next
version=0.2.9
revision=1
build_style=qmake
hostmakedepends="qt5-devel"
makedepends="qt5-devel eudev-libudev-devel"
short_desc="Corsair RGB Driver for Linux"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2"
homepage="https://github.com/ckb-next/ckb-next"
distfiles="$homepage/archive/v$version.tar.gz"
checksum=211bc74c8ec3aeaa02cb85f63bd615f53e08d04d1352098269f16b1ca408ce4b
do_install() {
vbin bin/ckb
vbin bin/ckb-daemon
vmkdir usr/lib/ckb-animations
vcopy bin/ckb-animations/* usr/lib/ckb-animations
vinstall usr/ckb.png 644 usr/share/icons/hicolor/512x512/apps
vinstall usr/ckb.desktop 644 usr/share/applications
vmkdir usr/lib/udev/rules.d
vinstall udev/99-ckb-daemon.rules 644 usr/lib/udev/rules.d
vsv ckb
}