From dbd723f9143c6dce6afb012b4905dee710639106 Mon Sep 17 00:00:00 2001 From: Frank Steinborn Date: Tue, 3 Jul 2018 21:08:36 +0200 Subject: [PATCH] ckb-next: add runit service, use SPDX for license --- srcpkgs/ckb-next/files/ckb-next-daemon/log/run | 2 ++ srcpkgs/ckb-next/files/ckb-next-daemon/run | 2 ++ srcpkgs/ckb-next/files/ckb/run | 2 -- srcpkgs/ckb-next/template | 8 ++++++-- 4 files changed, 10 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/ckb-next/files/ckb-next-daemon/log/run create mode 100644 srcpkgs/ckb-next/files/ckb-next-daemon/run delete mode 100644 srcpkgs/ckb-next/files/ckb/run diff --git a/srcpkgs/ckb-next/files/ckb-next-daemon/log/run b/srcpkgs/ckb-next/files/ckb-next-daemon/log/run new file mode 100644 index 00000000000..778760156ff --- /dev/null +++ b/srcpkgs/ckb-next/files/ckb-next-daemon/log/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec logger -t ckb-next-daemon -p daemon.notice diff --git a/srcpkgs/ckb-next/files/ckb-next-daemon/run b/srcpkgs/ckb-next/files/ckb-next-daemon/run new file mode 100644 index 00000000000..fc0d263a74c --- /dev/null +++ b/srcpkgs/ckb-next/files/ckb-next-daemon/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/ckb-next-daemon 2>&1 diff --git a/srcpkgs/ckb-next/files/ckb/run b/srcpkgs/ckb-next/files/ckb/run deleted file mode 100644 index 183c2605aa1..00000000000 --- a/srcpkgs/ckb-next/files/ckb/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec ckb-next-daemon diff --git a/srcpkgs/ckb-next/template b/srcpkgs/ckb-next/template index 125f7ff1048..0fee059dfa6 100644 --- a/srcpkgs/ckb-next/template +++ b/srcpkgs/ckb-next/template @@ -1,13 +1,17 @@ # Template file for 'ckb-next' pkgname=ckb-next version=0.3.0 -revision=1 +revision=2 build_style=cmake hostmakedepends="qt5-devel" makedepends="qt5-devel eudev-libudev-devel" short_desc="Corsair RGB Driver for Linux" maintainer="Andrea Brancaleoni " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://github.com/ckb-next/ckb-next" distfiles="$homepage/archive/v$version.tar.gz" checksum=3ddb779181d875c53194d3d98d148f5cb27685b8200f6a788654695af9acdbf6 + +post_install() { + vsv ckb-next-daemon +}