# Template file for 'fprintd'
pkgname=fprintd
version=0.5.1
revision=3
build_style=gnu-configure
short_desc="daemon that provides fingerprint scanning functionality"
maintainer="Enno Boland <eb@s01.de>"
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"
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
}
