# Template file for 'gnome-dictionary'
pkgname=gnome-dictionary
version=40.0
revision=1
build_style=meson
hostmakedepends="pkg-config gettext itstool glib-devel"
makedepends="gtk+3-devel gsettings-desktop-schemas-devel"
depends="hicolor-icon-theme desktop-file-utils gsettings-desktop-schemas>=3.14"
short_desc="Look up words in dictionary sources"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://wiki.gnome.org/Apps/Dictionary"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=2e650c2a4cea8cc4d02d4a583c456cbbc9d1871e918c7dc4de081ded1d830db5
replaces="gnome-utils>=3.0"

post_install() {
	# Remove -devel stuff.
	rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib/pkgconfig \
		${DESTDIR}/usr/share/gtk-doc
}
