diff --git a/srcpkgs/acpid/files/acpid.service b/srcpkgs/acpid/files/acpid.service deleted file mode 100644 index 97a5022f93..0000000000 --- a/srcpkgs/acpid/files/acpid.service +++ /dev/null @@ -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 diff --git a/srcpkgs/acpid/files/acpid.socket b/srcpkgs/acpid/files/acpid.socket deleted file mode 100644 index 1e5365bf1e..0000000000 --- a/srcpkgs/acpid/files/acpid.socket +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=ACPID Listen Socket - -[Socket] -ListenStream=/run/acpid.socket - -[Install] -WantedBy=sockets.target diff --git a/srcpkgs/acpid/template b/srcpkgs/acpid/template index 73ad0eb4fa..1f9b127d26 100644 --- a/srcpkgs/acpid/template +++ b/srcpkgs/acpid/template @@ -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