# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dconf
pkgver=0.26.0
pkgrel=1
pkgdesc="A low-level configuration system."
url="http://live.gnome.org/dconf"
arch="all"
license="LGPL-2.1"
depends=""
makedepends="glib-dev dbus-dev docbook-xsl vala"
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.gnome.org/sources/dconf/${pkgver%.*}/dconf-$pkgver.tar.xz"

#	0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch
builddir="$srcdir"/$pkgname-$pkgver

build () {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--libexecdir=/usr/lib/dconf
	make V=1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="ea225397a486815c90a113c064d943f113490dfc754e4acba049b033115aa3a6a3849a5cdc133663de09811cde41c963041bc244cfd9ed32d65399889e415d1e  dconf-0.26.0.tar.xz"
