Commit 1a0103dd authored by Rasmus Thomsen's avatar Rasmus Thomsen Committed by Natanael Copa

main/dconf: update to 0.32.0

parent 735e3174
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dconf
pkgver=0.26.0
pkgrel=1
pkgver=0.32.0
pkgrel=0
pkgdesc="A low-level configuration system."
url="http://live.gnome.org/dconf"
url="https://wiki.gnome.org/Projects/dconf"
arch="all"
license="LGPL-2.1"
depends=""
makedepends="glib-dev dbus-dev docbook-xsl vala"
subpackages="$pkgname-dev $pkgname-doc"
license="LGPL-2.1-or-later"
makedepends="glib-dev dbus-dev docbook-xsl vala gtk+3.0-dev libxml2-dev meson
py3-setuptools bash-completion"
subpackages="$pkgname-dev $pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
source="https://download.gnome.org/sources/dconf/${pkgver%.*}/dconf-$pkgver.tar.xz"
builddir="$srcdir"/dconf-$pkgver
# 0001-Avoid-posix_fallocate-so-it-works-on-uClibc.patch
builddir="$srcdir"/$pkgname-$pkgver
build () {
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
meson \
--prefix=/usr \
--libexecdir=/usr/lib/dconf
make V=1
--localstatedir=/var \
--buildtype=release \
. output
ninja -C output
}
check() {
cd "$builddir"
meson test -C output -t 10
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" ninja -C output install
}
bashcomp() {
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname-$pkgver-r$pkgrel bash-completion"
mkdir -p "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share
}
sha512sums="ea225397a486815c90a113c064d943f113490dfc754e4acba049b033115aa3a6a3849a5cdc133663de09811cde41c963041bc244cfd9ed32d65399889e415d1e dconf-0.26.0.tar.xz"
sha512sums="09ae65ad365947aed24228b94978b290060264e55b443d18a743e943627703c92e16e3a5ca8a0aaf3549f7a1d5aad77bdc285d4c8519db705d3104ec22b111a0 dconf-0.32.0.tar.xz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment