app=gsettings-desktop-schemas
version=3.34.0
build=1sml
homepage="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas"
download="https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/-/archive/3.34.0/gsettings-desktop-schemas-3.34.0.tar.bz2"
desc="Shared GSettings schemas for the desktop"
requires="dconf gobject-introspection "

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

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

  sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in &&
  mkdir smbuild && cd smbuild

  meson .. \
    --prefix="/" 

  ninja
  DESTDIR="$pkg" ninja install

  cp ../COPYING $pkgdocs/


  mkfinalpkg
}

sha512sums="
e35c25484e7a0a03d38a864ed3cbc08054be41053248679ff02202f6305c40e05d4596ecfd071612118f30bc6700152888b1a97f4ecedfc978e521cc451bf0dd  gsettings-desktop-schemas-3.34.0.tar.lz
"
