void-packages/srcpkgs/rtkit/template

24 lines
647 B
Bash

# Template file for 'rtkit'
pkgname=rtkit
version=0.13
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="dbus-devel libcap-devel"
depends="dbus"
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
}