1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
7 pkgdesc="Configuration database system"
8 url="https://wiki.gnome.org/Projects/dconf"
12 makedepends=(vala dbus git gtk-doc python meson bash-completion)
13 provides=(libdconf.so)
15 _commit=4c0a26052efafae923eba42d14c5cb88da745de2 # tags/0.40.0^0
16 source=("git+https://gitlab.gnome.org/GNOME/dconf.git#commit=$_commit"
17 dconf-update dconf-update.hook)
19 '330142605370f82f4229e8a94b245f911407eb629b50f1497f415c70164a90ec'
20 '8d02176ff001a13d15a7ac087edd2502725494668933fa2c6e6f9cb21ae24e6b')
24 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
32 arch-meson dconf build -D gtk_doc=true
33 meson compile -C build
37 meson test -C build --print-errorlogs
41 meson install -C build --destdir "$pkgdir"
43 install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
44 install -Dt "$pkgdir/usr/share/libalpm/scripts" dconf-update
46 # Prevent this directory from getting removed when other
47 # packages which install files there get uninstalled
48 install -Dm644 /dev/null "$pkgdir/etc/dconf/db/.placeholder"
51 # vim:set sw=2 sts=-1 et: