PKGBUILDs/extra/gnome-session/PKGBUILD

30 lines
1.2 KiB
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 44700 2009-07-03 18:06:54Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=gnome-session
pkgver=2.26.2
pkgrel=1
pkgdesc="The GNOME Session Handler"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
depends=('policykit-gnome>=0.9.2' 'gnome-settings-daemon>=2.26.1' 'at-spi>=1.26.0' 'startup-notification>=0.10' 'dbus>=1.2.14' 'libglade>=2.6.4' 'libxtst')
makedepends=('pkgconfig' 'intltool' 'xtrans')
options=(!emptydirs)
install=gnome-session.install
url="http://www.gnome.org"
groups=('gnome')
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2)
md5sums=('2cc3ff808592d95c3b364d608e99dea4')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--with-at-spi-registryd-directory=/usr/lib/at-spi || return 1
make || return 1
make DESTDIR="${pkgdir}" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install || return 1
install -d -m755 "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-session-2.0 ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}