repo/extra/acpid/build

16 lines
321 B
Plaintext
Raw Normal View History

2020-01-12 10:15:31 -07:00
#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin
make
make DESTDIR="$1" install
# Install runit service.
2020-02-14 09:18:56 -07:00
install -Dm755 acpid.run "$1/etc/sv/acpid/run"
ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"
# Required otherwise daemon fails to launch.
mkdir -p "$1/etc/acpi/events"