udisks: remove systemd build option (#1736).

This commit is contained in:
Juan RP 2015-07-01 09:11:32 +02:00
parent 97bfc108a1
commit f8f5b51fc0
2 changed files with 2 additions and 18 deletions

View file

@ -1,10 +0,0 @@
[Unit]
Description=Disk Manager
[Service]
Type=dbus
BusName=org.freedesktop.UDisks
ExecStart=/usr/libexec/udisks-daemon
[Install]
WantedBy=graphical.target

View file

@ -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