summaryrefslogtreecommitdiff
path: root/community/lxde-common/PKGBUILD
blob: 808afbf1ff67a74282ebefac07f1c29efd1c18f9 (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 53456 2011-08-03 20:00:26Z angvp $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>

pkgname=lxde-common
pkgver=0.5.5
pkgrel=1
pkgdesc="Common files of the LXDE Desktop"
arch=('i686' 'x86_64')
license=('GPL2')
groups=('lxde')
depends=('libx11' 'glib2' 'lxde-icon-theme')
url="http://lxde.org/"
# startlxde is useless without lxsession 
makedepends=(automake)
optdepends=(lxsession-lite)
backup=(etc/xdg/lxsession/LXDE/{desktop.conf,autostart})
source=("http://downloads.sourceforge.net/lxde/${pkgname}-${pkgver}.tar.gz")
md5sums=('e51a6b2a815a89fda1f497b509465a97')


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

package() {
    cd "$srcdir/$pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
    install -Dm644 lxde-logout.desktop \
      ${pkgdir}/usr/share/applications/lxde-logout.desktop
}