aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/acpid/build12
-rw-r--r--extra/acpid/checksums2
-rw-r--r--extra/acpid/files/acpid.run (renamed from extra/acpid/files/run)0
-rw-r--r--extra/acpid/sources2
4 files changed, 7 insertions, 9 deletions
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/run b/extra/acpid/files/acpid.run
index 5baf800e..5baf800e 100644
--- a/extra/acpid/files/run
+++ b/extra/acpid/files/acpid.run
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