# Maintainer: PktSurf <smlinux@pktsurf.in>
app=dconf-editor
version=3.18.2
build=1sml
homepage="https://wiki.gnome.org/Projects/dconf"
download="https://gitlab.gnome.org/GNOME/dconf-editor/-/archive/$version/dconf-editor-$version.tar.bz2"
desc="Graphical editor for dconf written in GTK3"
requires="graphite2 gtk3"

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

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

build() {
  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
c8a7c8f073bf1097dc6c74c4f8ee0371f40b8f241ed1faede521829c67f479f7636f80e0d46cd4155388da91bb4a9b57cd20532e8cfad92a7503fa2cdf21cbb0  dconf-editor-3.18.2.tar.lz
"
