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
"
