void-packages/srcpkgs/rtkit/template
2020-11-23 21:52:00 +01:00

22 lines
632 B
Bash

# Template file for 'rtkit'
pkgname=rtkit
version=0.13
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="dbus-devel libcap-devel"
short_desc="Realtime Policy and Watchdog Daemon"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, GPL-3.0-or-later"
homepage="https://github.com/heftig/rtkit"
distfiles="https://github.com/heftig/rtkit/releases/download/v${version}/rtkit-${version}.tar.xz"
checksum=a157144cd95cf6d25200e74b74a8f01e4fe51fd421bb63c1f00d471394b640ab
system_accounts="rtkit"
rtkit_homedir="/proc"
post_install() {
sed -n '7,28p' < rtkit.h > LICENSE
vlicense LICENSE
vsv rtkit
}