summaryrefslogtreecommitdiff
path: root/community/lxsession/PKGBUILD
blob: f403a9c526c2c30411419a04878afaa2da25b062 (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
34
35
36
37
38
# $Id: PKGBUILD 100813 2013-11-11 11:27:29Z 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=2
epoch=1
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'
         '0ec60da2c876b14928ea22a6c29fc0a7')

prepare() {
  cd $pkgname-$pkgver
  patch -Np1 -i ../lxsession-0.4.6.1-logind-support.patch
}

build() {
  cd $pkgname-$pkgver
  ./configure --sysconfdir=/etc --prefix=/usr
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install 
}