acpid: remove systemd build option (#1736)
This commit is contained in:
parent
2bb6e240d8
commit
a55032e931
3 changed files with 1 additions and 24 deletions
|
@ -1,10 +0,0 @@
|
|||
[Unit]
|
||||
Description=ACPI Event Daemon
|
||||
Requires=acpid.socket
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/acpid -f
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Also=acpid.socket
|
|
@ -1,8 +0,0 @@
|
|||
[Unit]
|
||||
Description=ACPID Listen Socket
|
||||
|
||||
[Socket]
|
||||
ListenStream=/run/acpid.socket
|
||||
|
||||
[Install]
|
||||
WantedBy=sockets.target
|
|
@ -1,9 +1,8 @@
|
|||
# Template file for 'acpid'
|
||||
pkgname=acpid
|
||||
version=2.0.23
|
||||
revision=14
|
||||
revision=15
|
||||
build_pie=yes
|
||||
build_options="systemd"
|
||||
build_style=gnu-configure
|
||||
configure_args="--sbindir=/usr/bin"
|
||||
conf_files="/etc/acpi/events/anything /etc/acpi/handler.sh"
|
||||
|
@ -15,10 +14,6 @@ distfiles="${SOURCEFORGE_SITE}/acpid2/acpid-$version.tar.xz"
|
|||
checksum=4396aaec13510c3a1faa941a15a4b5335b6ae4fbec8438b9249b88c3b66187ee
|
||||
|
||||
post_install() {
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall ${FILESDIR}/acpid.service 644 usr/lib/systemd/system
|
||||
vinstall ${FILESDIR}/acpid.socket 644 usr/lib/systemd/system
|
||||
fi
|
||||
vinstall ${FILESDIR}/handler.sh 755 etc/acpi
|
||||
vinstall ${FILESDIR}/anything 644 etc/acpi/events
|
||||
vsv acpid
|
||||
|
|
Loading…
Reference in a new issue