repo/extra/acpid/build
2021-07-01 16:25:53 +00:00

17 lines
266 B
Bash
Executable File

#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin
make
make DESTDIR="$1" install
mkdir -p \
"$1/etc/acpi/events" \
"$1/etc/sv/acpid"
cp -f acpid.run "$1/etc/sv/acpid/run"
ln -sf /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"