# Maintainer: PktSurf <smlinux@pktsurf.in>
app=dconf
version=0.24.0
build=1sml
homepage="http://live.gnome.org/dconf"
download="https://gitlab.gnome.org/GNOME/dconf/-/archive/$version/dconf-$version.tar.gz"
requires="glib libffi python3 vala dbus "
desc="low-level configuration system that serves as a backend for GLib"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version 
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix= \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-gtk-doc \
    --disable-gtk-doc-html

  make
  make install DESTDIR="$pkg"

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
d916db40465e9c7ee115c516d1dd6fe9994434b74f6eb73c112f19ba6be6107f0d8eae1e47c46c710db9218a20cd809609747ef190a27123febf9780dbc12991  dconf-0.24.0.tar.lz
"
