diff --git a/srcpkgs/lxdm/template b/srcpkgs/lxdm/template index f3de1035bf1..1a361e1f59f 100644 --- a/srcpkgs/lxdm/template +++ b/srcpkgs/lxdm/template @@ -1,7 +1,7 @@ # Template file for 'lxdm' pkgname=lxdm version=0.5.1 -revision=2 +revision=3 build_style=gnu-configure build_options="systemd" configure_args="$(vopt_if systemd --disable-consolekit --enable-consolekit) --with-pam" @@ -28,6 +28,9 @@ checksum=2b20ef475b409d0bbea8309181abd23fad5d6240d53b84d7f60fe1a0f6f3e506 pre_configure() { autoreconf -fi } +pre_build() { + sed -i 's,@DATADIRNAME@,share,g' -i po/Makefile +} post_install() { vsv lxdm # Use our own pam file.