# $Id: PKGBUILD 80231 2012-11-18 09:34:03Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Angel Velasquez # Contributor: Juergen Hoetzel pkgname=lxsession pkgver=0.4.6.1 pkgrel=3 pkgdesc='Lightweight X11 session manager' arch=('i686' 'x86_64') url="http://lxde.org/" license=('GPL2') groups=('lxde') depends=('gtk2' 'dbus') makedepends=('pkgconfig' 'intltool') replaces=('lxde-settings-daemon' 'lxsession-lite') conflicts=('lxsession-lite' 'lxde-settings-daemon') source=(http://downloads.sourceforge.net/lxde/$pkgname-$pkgver.tar.gz lxsession-0.4.6.1-logind-support.patch) md5sums=('e456b64c5ab3652a4dec661ec706dc6e' '7459321f5dc263493837768dcb03f852') build() { cd $srcdir/$pkgname-$pkgver patch -Np2 -i $srcdir/lxsession-0.4.6.1-logind-support.patch ./configure --sysconfdir=/etc --prefix=/usr make } package() { cd $srcdir/$pkgname-$pkgver make DESTDIR=$pkgdir install }