lightdm: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 23:05:03 +02:00
parent 72740e5c71
commit 2590cbcf67
1 changed files with 7 additions and 5 deletions

View File

@ -1,18 +1,20 @@
# Template file for 'lightdm' # Template file for 'lightdm'
pkgname=lightdm pkgname=lightdm
version=1.2.2 version=1.2.2
revision=5 revision=6
homepage="https://launchpad.net/lightdm"
distfiles="https://launchpad.net/lightdm/1.2/$version/+download/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-greeter-session=lightdm-gtk-greeter configure_args="--with-greeter-session=lightdm-gtk-greeter
--with-greeter-user=lightdm --disable-static --disable-tests" --with-greeter-user=lightdm --disable-static --disable-tests"
depends="accountsservice" depends="accountsservice"
makedepends="pkg-config intltool dbus-glib-devel libxklavier-devel libxml2-devel qt-devel gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel gobject-introspection" makedepends="pkg-config intltool dbus-glib-devel libxklavier-devel libxml2-devel
qt-devel gtk+3-devel libxcb-devel libXdmcp-devel pam-devel vala-devel
gobject-introspection"
fulldepends="gnome-icon-theme dbus" fulldepends="gnome-icon-theme dbus"
short_desc="Light Display Manager" short_desc="Light Display Manager"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3, LGPL-3" license="GPL-3, LGPL-3"
homepage="https://launchpad.net/lightdm"
distfiles="https://launchpad.net/lightdm/1.2/$version/+download/$pkgname-$version.tar.gz"
checksum=772cc6a4e7da670352f6a38c05470b8fcfe50a2c1d3d424be1c9309afb0c541b checksum=772cc6a4e7da670352f6a38c05470b8fcfe50a2c1d3d424be1c9309afb0c541b
long_desc=" long_desc="
An X display manager that: An X display manager that:
@ -40,7 +42,7 @@ subpackages="liblightdm-gobject liblightdm-qt lightdm-devel"
post_install() { post_install() {
# Remove provided init file and use our own. # Remove provided init file and use our own.
rm -rf ${DESTDIR}/etc/init rm -rf ${DESTDIR}/etc/init
vinstall ${FILESDIR}/lightdm.service 644 lib/systemd/system vinstall ${FILESDIR}/lightdm.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/lightdm.pam 644 etc/pam.d lightdm vinstall ${FILESDIR}/lightdm.pam 644 etc/pam.d lightdm
vinstall ${FILESDIR}/lightdm-autologin.pam 644 etc/pam.d lightdm-autologin vinstall ${FILESDIR}/lightdm-autologin.pam 644 etc/pam.d lightdm-autologin
vinstall ${FILESDIR}/xsession 755 etc/lightdm vinstall ${FILESDIR}/xsession 755 etc/lightdm