mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-22 05:56:19 +00:00
17 lines
266 B
Bash
Executable File
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"
|
|
|