summaryrefslogtreecommitdiff
path: root/community/lxsession/PKGBUILD
blob: 12443da90b1219b0ad7028331a502fa8b9f8f966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 80231 2012-11-18 09:34:03Z bpiotrowski $
# Maintainer:  Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Juergen Hoetzel <juergen@archlinux.org>

pkgname=lxsession
pkgver=0.4.6.1
pkgrel=3
pkgdesc='Lightweight X11 session manager'
arch=('i686' 'x86_64' 'mips64el')
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 
}