updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / gnome-session-ubuntu / PKGBUILD
blob667f24e14ef7e2d6061835029bb130515e835bff
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=gnome-session-ubuntu
5 _pkgname=gnome-session
6 pkgver=3.2.1
7 pkgrel=1
8 pkgdesc="The GNOME Session Handler with Ubuntu's modifications"
9 arch=(i686 x86_64)
10 license=('GPL' 'LGPL')
11 depends=('upower' 'gtk3' 'gconf' 'json-glib' 'startup-notification' 'hicolor-icon-theme' 'libxtst' 'polkit-gnome' 'libgl' 'gsettings-desktop-schemas' 'consolekit' 'libsm' 'dconf')
12 makedepends=('intltool' 'mesa' 'xtrans')
13 provides=("gnome-session=$pkgver")
14 conflicts=('gnome-session')
15 options=('!emptydirs')
16 install=gnome-session.install
17 url="http://www.gnome.org"
18 groups=('gnome')
19 source=(http://ftp.gnome.org/pub/gnome/sources/${_pkgname}/${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz
20         95_dbus_request_shutdown.patch)
21 sha256sums=('a87dcf57fec83cc8fad4e7b84542c5005a70a2107d184f247f0b112f07a043b3'
22             '49cbbbeecf1ae3adae42c3a34d7b5769ed90d1cbe1303d01637a02f63ca5f089')
24 build() {
25   cd "${srcdir}/${_pkgname}-${pkgver}"
27   # Add "RequestShutdown" and "RequestReboot" DBus methods (required for indicator-session)
28   patch -Np1 -i "${srcdir}/95_dbus_request_shutdown.patch"
30   ./configure --prefix=/usr --sysconfdir=/etc \
31       --localstatedir=/var --libexecdir=/usr/lib/gnome-session \
32       --disable-schemas-compile
33   make
36 package() {
37   cd "${srcdir}/${_pkgname}-${pkgver}"
38   make DESTDIR="${pkgdir}" install