# Contributor: William Pitcock # Maintainer: Natanael Copa pkgname=gconf pkgver=3.2.6 pkgrel=0 pkgdesc="GNOME configuration system" url="http://projects.gnome.org/gconf" arch="all" license="GPL" depends= depends_dev="libxml2-dev gtk+3.0-dev polkit-dev orbit2-dev" makedepends="$depends_dev gobject-introspection-dev gnome-doc-utils" install="" subpackages="$pkgname-dev $pkgname-lang" source="http://ftp.gnome.org/pub/GNOME/sources/GConf/${pkgver%.*}/GConf-${pkgver}.tar.xz" _builddir="${srcdir}/GConf-${pkgver}" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="2b16996d0e4b112856ee5c59130e822c GConf-3.2.6.tar.xz" sha256sums="1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c GConf-3.2.6.tar.xz" sha512sums="35f5f659f9d03f7531a7102adacbda0eb310d8a55a831c768c91a82e07dae21247726e00e0e411f63b1de9ade0f042ded572a3ea4a4b2ad3135231f344540b58 GConf-3.2.6.tar.xz"