2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 00:30:06 -07:00
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"