mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-20 13:16:19 +00:00
16 lines
321 B
Bash
Executable File
16 lines
321 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sbindir=/usr/bin
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
# Install runit service.
|
|
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"
|