diff --git a/srcpkgs/fprintd/template b/srcpkgs/fprintd/template index 6803d353b0f..246d2e85cfc 100644 --- a/srcpkgs/fprintd/template +++ b/srcpkgs/fprintd/template @@ -1,20 +1,22 @@ # Template file for 'fprintd' pkgname=fprintd version=0.5.1 -revision=4 +revision=5 lib32disabled=yes +build_options="systemd" build_style=gnu-configure +configure_args="--sysconfdir=/etc/$pkgname --disable-static + $(vopt_if systemd '' '--without-systemdsystemunitdir')" +conf_files="/etc/fprintd/fprintd.conf /etc/dbus-1/system.d/net.reactivated.Fprint.conf" short_desc="Daemon that provides fingerprint scanning functionality" maintainer="Enno Boland " homepage="http://www.freedesktop.org/wiki/Software/fprint/" hostmakedepends="intltool pkg-config" -makedepends="libfprint-devel dbus-devel dbus-glib-devel polkit-devel systemd-devel pam-devel" +makedepends="libfprint-devel dbus-devel dbus-glib-devel polkit-devel pam-devel + $(vopt_if systemd systemd-devel)" license="GPL" distfiles="http://people.freedesktop.org/~hadess/${pkgname}-${version}.tar.xz" checksum=9256970fe30cb0332c1932fc0dad3c8d83570eb8e153305e9430e3cd90806e58 -configure_args="--sysconfdir=/etc/$pkgname --disable-static" -conf_files="/etc/fprintd/fprintd.conf /etc/dbus-1/system.d/net.reactivated.Fprint.conf" -systemd_services="${pkgname}.service on" post_install() { mv $DESTDIR/etc/$pkgname/dbus-1 $DESTDIR/etc