From f8f5b51fc0d05e04b8e8a562a5fac73a3978cd6c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 1 Jul 2015 09:11:32 +0200 Subject: [PATCH] udisks: remove systemd build option (#1736). --- srcpkgs/udisks/files/udisks.service | 10 ---------- srcpkgs/udisks/template | 10 ++-------- 2 files changed, 2 insertions(+), 18 deletions(-) delete mode 100644 srcpkgs/udisks/files/udisks.service diff --git a/srcpkgs/udisks/files/udisks.service b/srcpkgs/udisks/files/udisks.service deleted file mode 100644 index 4f1792edcd..0000000000 --- a/srcpkgs/udisks/files/udisks.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Disk Manager - -[Service] -Type=dbus -BusName=org.freedesktop.UDisks -ExecStart=/usr/libexec/udisks-daemon - -[Install] -WantedBy=graphical.target diff --git a/srcpkgs/udisks/template b/srcpkgs/udisks/template index 52be4a435a..7088666605 100644 --- a/srcpkgs/udisks/template +++ b/srcpkgs/udisks/template @@ -1,10 +1,9 @@ # Template file for 'udisks' pkgname=udisks version=1.0.5 -revision=3 -build_options="systemd" +revision=4 build_style=gnu-configure -configure_args="--sbindir=/usr/bin --disable-static --enable-lvm2" +configure_args="--disable-static --enable-lvm2" hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel dbus-glib-devel" makedepends="libglib-devel device-mapper-devel liblvm2app-devel libparted-devel libatasmart-devel polkit-devel @@ -24,11 +23,6 @@ pre_configure() { -e "s|\(slashsbindir\)=.*|\1=/usr/bin|g" configure } post_install() { - if [ "$build_option_systemd" ]; then - vinstall ${FILESDIR}/udisks.service 644 usr/lib/systemd/system - echo "SystemdService=udisks.service" \ - >> ${DESTDIR}/usr/share/dbus-1/system-services/org.freedesktop.UDisks.service - fi vmkdir usr/share/bash-completion/completions mv ${DESTDIR}/etc/profile.d/udisks-bash-completion.sh \ ${DESTDIR}/usr/share/bash-completion/completions/udisks