aboutsummaryrefslogtreecommitdiff
path: root/extra/acpid/build
blob: d495e64d3c6814b383bbf52e3745f35d6dc5f742 (plain)
1
2
3
4
5
6
7
8
9
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"