From e5608baccc8b7f1f7a5a4bafea15cdfed80437ec Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Tue, 11 Jun 2024 18:19:42 -0400 Subject: [PATCH] fix(systemd) closes #6400 --- projects/systemd.io/package.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/projects/systemd.io/package.yml b/projects/systemd.io/package.yml index b4265b75..86028f17 100644 --- a/projects/systemd.io/package.yml +++ b/projects/systemd.io/package.yml @@ -1,10 +1,9 @@ distributable: - url: https://github.com/systemd/systemd/archive/refs/tags/v{{version.raw}}.tar.gz + url: https://github.com/systemd/systemd/archive/refs/tags/{{version.tag}}.tar.gz strip-components: 1 versions: github: systemd/systemd - strip: /v/ platforms: - linux @@ -44,7 +43,18 @@ build: - meson setup $ARGS build - meson compile -C build - meson install -C build - - make --jobs {{ hw.concurrency }} install + - run: | + if test -d systemd; then + mv systemd/* . + rmdir systemd + ln -s . systemd + fi + working-directory: '{{prefix}}/include' + - run: | + if test -d systemd; then + ln -s systemd/lib* . + fi + working-directory: '{{prefix}}/lib' env: ARGS: - --sysconfdir={{prefix}}/etc @@ -117,5 +127,4 @@ provides: - sbin/shutdown - sbin/telinit -test: | - systemd-path | grep 'temporary: /tmp' +test: "systemd-path | grep 'temporary: /tmp'"