From a5c06ac7c1f1a198cef17af989abe11ff5da5cb4 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 7 Sep 2018 08:28:28 -0300 Subject: [PATCH] rtkit: fix license=, add underscore prefix to rtkit username. --- srcpkgs/rtkit/template | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/srcpkgs/rtkit/template b/srcpkgs/rtkit/template index de5302ba8fb..596b234012d 100644 --- a/srcpkgs/rtkit/template +++ b/srcpkgs/rtkit/template @@ -1,21 +1,24 @@ # Template file for 'rtkit' pkgname=rtkit version=0.11 -revision=12 +revision=13 build_style=gnu-configure -short_desc="Realtime Policy and Watchdog Daemon" -maintainer="Juan RP " -license="BSD, GPL-2" -homepage="http://git.0pointer.de/?p=rtkit.git" -distfiles="http://0pointer.de/public/$pkgname-$version.tar.xz" -checksum=68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0 - hostmakedepends="pkg-config" makedepends="dbus-devel libcap-devel" -system_accounts="rtkit" -rtkit_homedir="/proc" +short_desc="Realtime Policy and Watchdog Daemon" +maintainer="Juan RP " +license="MIT, GPL-3.0-or-later" +homepage="http://git.0pointer.de/?p=rtkit.git" +distfiles="http://0pointer.de/public/${pkgname}-${version}.tar.xz" +checksum=68859108cff6410901502b58365eb7607da37110a06b837762f771735f58acd0 + +system_accounts="_rtkit" +_rtkit_homedir="/proc" post_install() { # DBus configuration vinstall ${FILESDIR}/org.freedesktop.RealtimeKit1.xml 644 usr/share/dbus-1/interfaces + + sed -n '7,28p' < rtkit.h > LICENSE + vlicense LICENSE }