void-packages/srcpkgs/ckb-next/template
2017-06-18 09:29:19 +02:00

26 lines
697 B
Bash

# Template file for 'ckb'
pkgname=ckb-next
version=0.2.8
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/mattanger/ckb-next"
distfiles="$homepage/archive/v$version.tar.gz"
checksum=709eab70088fbd243d5ce9463eea799440f3b8679051d41123d99b25bdf37171
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
vsv ckb
}