26 lines
650 B
Plaintext
26 lines
650 B
Plaintext
# Description: Realtime Policy and Watchdog Daemon
|
|
# URL: https://github.com/heftig/rtkit
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: dbus meson ninja
|
|
|
|
name=rtkit
|
|
version=0.13
|
|
release=1
|
|
source=(https://github.com/heftig/rtkit/releases/download/v$version/$name-$version.tar.xz
|
|
rtkit.service)
|
|
|
|
build() {
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib/$name \
|
|
--buildtype=plain \
|
|
-D libsystemd=disabled \
|
|
-D installed_tests=false
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
|
|
rm -r $PKG/usr/lib/systemd
|
|
|
|
install -Dm744 $SRC/rtkit.service $PKG/etc/rc.d/rtkit
|
|
}
|