2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 08:20:05 -07:00
repo/extra/acpid/build

17 lines
266 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
2021-07-01 10:25:53 -06:00
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"