From 2238836da78e1d5668cc5dd57aa3d7a7a04f18c5 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 24 Jul 2021 00:26:56 +0300 Subject: acpid: use clsv --- extra/acpid/build | 12 +++++------- extra/acpid/checksums | 2 +- extra/acpid/files/acpid.run | 2 ++ extra/acpid/files/run | 2 -- extra/acpid/sources | 2 +- 5 files changed, 9 insertions(+), 11 deletions(-) create mode 100644 extra/acpid/files/acpid.run delete mode 100644 extra/acpid/files/run diff --git a/extra/acpid/build b/extra/acpid/build index 2e9a3bd4..ab2779c5 100755 --- a/extra/acpid/build +++ b/extra/acpid/build @@ -1,14 +1,12 @@ #!/bin/sh -e -./configure --prefix=/usr --sbindir=/usr/bin +./configure \ + --prefix=/usr \ + --sbindir=/usr/bin make make DESTDIR="$1" install mkdir -p "$1/etc/acpi/events" -# Install runit service. -install -Dm755 run "$1/etc/sv/acpid/run" -ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise" - -# Install sysmgr service. -install -Dm755 run "$1/etc/sysmgr/acpid" +# Install services. +clsv -d "$1" acpid.run diff --git a/extra/acpid/checksums b/extra/acpid/checksums index 9041617e..dd8917fe 100644 --- a/extra/acpid/checksums +++ b/extra/acpid/checksums @@ -1,2 +1,2 @@ f2d2d30b3edc3234bd82f6f7186699a6aa3c85c8d20bc4e30e9b3c68a1ed157e acpid-2.0.32.tar.xz -ebd61afac770d3d9cae5c411f44002496fb18b28cf7b77520072a3909852246e run +ebd61afac770d3d9cae5c411f44002496fb18b28cf7b77520072a3909852246e acpid.run diff --git a/extra/acpid/files/acpid.run b/extra/acpid/files/acpid.run new file mode 100644 index 00000000..5baf800e --- /dev/null +++ b/extra/acpid/files/acpid.run @@ -0,0 +1,2 @@ +#!/bin/sh +exec acpid -f diff --git a/extra/acpid/files/run b/extra/acpid/files/run deleted file mode 100644 index 5baf800e..00000000 --- a/extra/acpid/files/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -exec acpid -f diff --git a/extra/acpid/sources b/extra/acpid/sources index d3781b60..7d2b1cb1 100644 --- a/extra/acpid/sources +++ b/extra/acpid/sources @@ -1,2 +1,2 @@ https://downloads.sourceforge.net/acpid2/acpid-2.0.32.tar.xz -files/run +files/acpid.run -- cgit v1.2.3