### this file is sourced not run
PKGVER=43.0
PKGBUILD=1
PKGARCH=x86_64

# source: BLFS 11.3.648
TARBALL=dconf-editor-$PKGVER.tar.xz
MD5SUM=a85bc794ca3cc920dc6acf63f5ea81bb
SRC_URL=https://download.gnome.org/sources/dconf-editor/43/$TARBALL
BUNDLE=

SLACKREQ='dconf gtk3 libhandy libxml2'
SLACKDESC="dconf-editor: dconf-editor $PKGVER (dconf database editor)
dconf-editor:
dconf-editor: The DConf-Editor is a graphical editor for the DConf database.
dconf-editor: Command 'gsettings' provides similar functionality on the command line.
dconf-editor:
dconf-editor:
dconf-editor: https://gitlab.gnome.org/GNOME/dconf-editor
dconf-editor:
dconf-editor:
dconf-editor:
dconf-editor:
"

SLACKINSTALL='glib-compile-schemas ./usr/share/glib-2.0/schemas'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	MESONFLAGS="$MESONFLAGS --buildtype=release"
	pkg_build_meson &&
	pkg_build_slackdesc &&

	# remove compiled schemas, we compile at install time
	rm -f /usr/share/glib-2.0/schemas/gschemas.compiled &&

	# remove cache
	rm -f /usr/share/icons/*/icon-theme.cache &&

	true
}

# vim:ft=sh:
