aboutsummaryrefslogtreecommitdiff
path: root/extra/acpid/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-18 14:26:23 +0300
committerCem Keylan <cem@ckyln.com>2020-01-18 14:26:23 +0300
commitfc07a709c01a91aabe8b4152be260e7deef1a89f (patch)
tree53c813581f60323f72499fea73ed18c0d4dd272f /extra/acpid/build
parent269b4df501cd407cdb6e78e1cf190c90bb461f88 (diff)
downloadrepository-fc07a709c01a91aabe8b4152be260e7deef1a89f.tar.gz
acpid: add package to extra
Diffstat (limited to 'extra/acpid/build')
-rwxr-xr-xextra/acpid/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/acpid/build b/extra/acpid/build
new file mode 100755
index 00000000..d495e64d
--- /dev/null
+++ b/extra/acpid/build
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+./configure --prefix=/usr --sbindir=/usr/bin
+
+make
+make DESTDIR="$1" install
+mkdir -p "$1/etc/acpi/events"
+
+install -Dm755 run "$1/etc/sv/acpid/run"
+ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"