summaryrefslogtreecommitdiff
path: root/community/lxde-common/PKGBUILD
blob: b2516b8332494bf07f97006df305cd020dd4c963 (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
# $Id: PKGBUILD 49034 2011-06-09 21:26:14Z andrea $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>

pkgname=lxde-common
pkgver=0.5.0
pkgrel=3
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"
        "${pkgname}-arch.patch" "${pkgname}-invalid-distfile.patch")
md5sums=('23606ab3d6e1039386d62a4b68b4ffc6'
         '21657157d9ab377de55deb19a42d68e8'
         '24938631783683fd98dfd533023e6d4e')


build() {
    cd "$srcdir/$pkgname-$pkgver"
    patch -p1 -i ${srcdir}/${pkgname}-arch.patch
    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
}