dbus-broker: meson and ninja hooks handle most things for us
This commit is contained in:
parent
fd2c8d0a00
commit
6f6a7aae8f
@ -22,19 +22,11 @@ stdenv.mkDerivation rec {
|
||||
--replace "dep_systemd.get_pkgconfig_variable('systemduserunitdir')" "'$out/lib/systemd/user'"
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
mkdir build
|
||||
meson --prefix "$out" --buildtype=release build/
|
||||
postInstall = ''
|
||||
install -Dm644 ../README $out/share/doc/dbus-broker/README
|
||||
'';
|
||||
|
||||
buildPhase = "ninja -C build";
|
||||
|
||||
installPhase = ''
|
||||
ninja -C build install
|
||||
install -Dm644 README $out/share/doc/dbus-broker/README
|
||||
'';
|
||||
|
||||
checkPhase = "ninja -C build test";
|
||||
checkPhase = "ninja test";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user