updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / indicator-session / PKGBUILD
blobb683e7a12afc4d57d12964eab9ede3bf73b80e42
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=indicator-session
3 pkgver=0.3.7.1
4 pkgrel=2
5 pkgdesc="Quick! Change your status. Switch users. Close your session. All provided by the The Session Menu these tasks are conviniently placed in the upper-right corner of the desktop to make them available and easy to use"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/indicator-session"
8 license=('GPL')
9 depends=('libindicator>=0.3.19' 'libdbusmenu>=0.4.92' 'dbus-glib' 'dconf')
10 true && depends=('libindicator3>=0.3.19' 'libdbusmenu-gtk3>=0.4.92' 'dbus-glib' 'dconf')
11 makedepends=('intltool>=0.35.0')
12 optdepends=('gnome-control-center: open system settings from User and Device menus'
13             'gnome-session: shutdown and logout from Device menu'
14             'gnome-screensaver: lock the screen from Device menu'
15             'system-config-printer-gnome: launch printer config tool from Device menu'
16             'simple-scan: launch scanner app from Device menu'
17             'cheese: launch webcam app from Device menu')
18 options=('!libtool')
19 install=$pkgname.install
20 source=(http://launchpad.net/$pkgname/0.3/$pkgver/+download/$pkgname-$pkgver.tar.gz
21         fix-location.patch
22         make-gtklogouthelper-optional.patch
23         make-apt-optional.patch)
24 md5sums=('3c18fa9d4489a29c3ad091379b4b3fcb'
25          '9290c0445e61af4c74abd742f559ecec'
26          '971c7e6eb6f8981533944b3253e86a82'
27          '530790ce0b105cf4ab31509febd90539')
29 build() {
30   cd "$srcdir/$pkgname-$pkgver"
31   patch -Np1 -i "$srcdir/fix-location.patch"
32   patch -Np1 -i "$srcdir/make-gtklogouthelper-optional.patch"
33   patch -Np1 -i "$srcdir/make-apt-optional.patch"
35   autoreconf -fi
36   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
37               --disable-static --disable-schemas-compile --disable-gtklogouthelper --disable-apt
38   make
41 package() {
42   cd "$srcdir/$pkgname-$pkgver"
44   make DESTDIR="$pkgdir/" install