# Maintainer: Padfoot pkgname=lightdm-gtk-greeter pkgver=1.5.0 pkgrel=2 pkgdesc="GTK+ greeter for LightDM" arch=('i686' 'x86_64') url="https://launchpad.net/lightdm-gtk-greeter" license=('GPL3' 'LGPL3') depends=('lightdm' 'gtk3') makedepends=('gtk-doc' 'gnome-common' 'gnome-doc-utils' 'gobject-introspection' 'intltool') conflicts=('lightdm-gtk-greeter-osk' 'lightdm-gtk-greeter-bzr') backup=('etc/lightdm/lightdm-gtk-greeter.conf') install='lightdm-gtk-greeter.install' source=("https://launchpad.net/$pkgname/1.6/$pkgver/+download/$pkgname-$pkgver.tar.gz" "lightdm-gtk-greeter.conf" "lightdm-gtk-greeter.patch") md5sums=('226fbc12594cca01d5decabde1d42f2d' '76b48440baf59713304d6ea71ecdc325' '80555121f1f6b7b284308cb8122128fc') build() { cd "$srcdir/$pkgname-$pkgver" export AUTOMAKE=automake patch -p1 -i $srcdir/lightdm-gtk-greeter.patch ./autogen.sh --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib/lightdm \ --disable-static make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="${pkgdir}" install cp ../lightdm-gtk-greeter.conf $pkgdir/etc/lightdm }