1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Corrado Primier <bardo@aur.archlinux.org>
7 pkgdesc="Realtime Policy and Watchdog Daemon"
8 url="https://github.com/heftig/rtkit"
10 license=(GPL3 custom:BSD)
11 depends=(dbus polkit systemd)
12 makedepends=(git meson vim)
14 _commit=b9169402fe5e82d20efb754509eb0b191f214599 # tags/v0.13^0
15 source=("git+https://github.com/heftig/rtkit?signed#commit=$_commit")
17 validpgpkeys=('8218F88849AAC522E94CF470A5E9288C4FA415FA') # Jan Alexander Steffens (heftig)
21 git describe --tags | sed 's/^v//;s/[^-]*-g/r&/;s/-/+/g'
29 arch-meson rtkit build -D installed_tests=false
33 meson test -C build --print-errorlogs
37 meson install -C build --destdir "$pkgdir"
39 echo 'u rtkit 133 "RealtimeKit" /proc' |
40 install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/rtkit.conf"
42 install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 rtkit/LICENSE
43 sed -ne '4,25p' rtkit/rtkit.c |
44 install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/COPYING"