# $Id: PKGBUILD 123094 2011-05-08 12:20:20Z ibiru $ # Maintainer: Ionut Biru pkgname=dconf pkgver=0.7.4 pkgrel=2 pkgdesc="A low-level configuration system." arch=(i686 x86_64) url="http://live.gnome.org/dconf" license=('LGPL2.1') depends=('glib2') makedepends=('vala' 'gobject-introspection' 'gtk3') optdepends=('gtk3: for dconf-editor') install=dconf.install source=(http://download.gnome.org/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.bz2 fix-crash-when-user-database-is-not-present.patch) sha256sums=('299d79daf0b214c692e7d5788d7bda76d778c1748ea37c33256c4fa6143b22cd' 'c78ea8db69a1be1286846282897f99e843e14d1e450beee4339d5500b2f0f73d') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/fix-crash-when-user-database-is-not-present.patch" ./configure --prefix=/usr --sysconfdir=/etc \ --libexecdir=/usr/lib/dconf make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install } # vim:set ts=2 sw=2 et: