2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-15 19:20:10 -07:00
repo/extra/acpid/build
2020-02-14 18:18:56 +02:00

13 lines
245 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"