aboutsummaryrefslogtreecommitdiff
path: root/extra/acpid
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-24 00:26:56 +0300
committerCem Keylan <cem@ckyln.com>2021-07-24 00:27:22 +0300
commit2238836da78e1d5668cc5dd57aa3d7a7a04f18c5 (patch)
tree191d85bdfc3c102a56fee04dadc9e6074b562a0d /extra/acpid
parentcbfb33db736f0f09f0e79c27cea337fbc758e4fa (diff)
downloadrepository-2238836da78e1d5668cc5dd57aa3d7a7a04f18c5.tar.gz
acpid: use clsv
Diffstat (limited to 'extra/acpid')
-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