summaryrefslogtreecommitdiff
path: root/gnome-unstable/gnome-session
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-02 23:14:49 +0000
committerroot <root@rshg054.dnsready.net>2011-09-02 23:14:49 +0000
commitb37ee9de1a430956d9e5958ebd9d7e0dbfc79327 (patch)
tree087dd7d26bea36f9b3b7c485f9e8e8251cbe0423 /gnome-unstable/gnome-session
parenteb3d40c72c9dd19f6a5ef79b41e9d8ba73ccd928 (diff)
Fri Sep 2 23:14:49 UTC 2011
Diffstat (limited to 'gnome-unstable/gnome-session')
-rw-r--r--gnome-unstable/gnome-session/PKGBUILD31
-rw-r--r--gnome-unstable/gnome-session/gnome-session.install18
2 files changed, 49 insertions, 0 deletions
diff --git a/gnome-unstable/gnome-session/PKGBUILD b/gnome-unstable/gnome-session/PKGBUILD
new file mode 100644
index 000000000..239c021dd
--- /dev/null
+++ b/gnome-unstable/gnome-session/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 136766 2011-09-01 13:20:03Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=gnome-session
+pkgver=3.1.90
+pkgrel=1
+pkgdesc="The GNOME Session Handler"
+arch=(i686 x86_64)
+license=('GPL' 'LGPL')
+depends=('upower' 'gtk3' 'gconf' 'json-glib' 'startup-notification' 'hicolor-icon-theme' 'libxtst' 'polkit-gnome' 'libgl' 'librsvg'
+ 'gsettings-desktop-schemas' 'consolekit' 'libsm' 'dconf')
+makedepends=('intltool' 'mesa' 'xtrans')
+options=('!emptydirs')
+install=gnome-session.install
+url="http://www.gnome.org"
+groups=('gnome')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('59901a0ca07eb833df4f3403563f20444568fb8535143f39c4e71b5577c81b9a')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --libexecdir=/usr/lib/gnome-session \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/gnome-unstable/gnome-session/gnome-session.install b/gnome-unstable/gnome-session/gnome-session.install
new file mode 100644
index 000000000..74cf4ed22
--- /dev/null
+++ b/gnome-unstable/gnome-session/gnome-session.install
@@ -0,0 +1,18 @@
+post_install() {
+ usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if (( $(vercmp $2 2.91.91.3-3) < 0 )); then
+ usr/sbin/gconfpkg --uninstall gnome-session
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}