From b04d585ecf72b65b7bdb710bfbfb146c2f3c0689 Mon Sep 17 00:00:00 2001 From: Juan RP <xtraeme@gmail.com> Date: Fri, 20 Apr 2012 10:00:34 +0200 Subject: [PATCH] lightdm-gtk-greeter: make it work without tweaking conffiles. --- srcpkgs/lightdm-gtk-greeter/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/lightdm-gtk-greeter/template b/srcpkgs/lightdm-gtk-greeter/template index 1c533ca640..3b4f1b9785 100644 --- a/srcpkgs/lightdm-gtk-greeter/template +++ b/srcpkgs/lightdm-gtk-greeter/template @@ -1,6 +1,7 @@ # Template file for 'lightdm-gtk-greeter' pkgname=lightdm-gtk-greeter version=1.1.5 +revision=1 homepage="https://launchpad.net/lightdm-gtk-greeter" distfiles="https://launchpad.net/lightdm-gtk-greeter/trunk/$version/+download/$pkgname-$version.tar.gz" build_style=gnu-configure @@ -29,3 +30,8 @@ Add_dependency build lightdm-devel Add_dependency build libxklavier-devel Add_dependency run lightdm + +post_install() { + cd ${DESTDIR}//usr/share/xgreeters && \ + ln -sf ${pkgname}.desktop default.desktop +}