void-packages/srcpkgs/fprintd/template
2020-08-20 10:38:32 +02:00

33 lines
1.2 KiB
Bash

# Template file for 'fprintd'
pkgname=fprintd
version=0.9.0
revision=2
wrksrc="fprintd-V_${version//./_}"
build_style=gnu-configure
configure_args="--sysconfdir=/etc/${pkgname} --disable-static --without-systemdsystemunitdir"
conf_files="/etc/fprintd/fprintd.conf"
hostmakedepends="autoconf automake dbus-glib-devel gettext-devel glib-devel gtk-doc intltool libtool m4 pkg-config"
makedepends="dbus-devel dbus-glib-devel gettext-devel glib-devel libfprint-devel pam-devel polkit-devel"
short_desc="Daemon that provides fingerprint scanning functionality"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.freedesktop.org/wiki/Software/fprint/"
distfiles="https://gitlab.freedesktop.org/libfprint/fprintd/-/archive/V_${version//./_}/fprintd-V_${version//./_}.tar.bz2"
checksum=3bfbf870a3c333a0a1f08287b2b8501c34fd347faac8c1d52bd0d64ab3474d8e
lib32disabled=yes
pre_configure() {
glib-gettextize -c -f
gtkdocize --copy
intltoolize -c -f
libtoolize -c
aclocal
autoconf
autoheader
automake -a -c
}
post_install() {
mv $DESTDIR/etc/$pkgname/dbus-1 $DESTDIR/usr/share/dbus-1
mv $DESTDIR/usr/share/dbus-1/dbus-1/system.d/net.reactivated.Fprint.conf $DESTDIR/usr/share/dbus-1/system.d
}