# Template file for 'gnome-dictionary'
pkgname=gnome-dictionary
version=3.18.1
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-scrollkeeper"
hostmakedepends="which pkg-config intltool itstool gnome-doc-utils glib-devel"
makedepends="gtk+3-devel gsettings-desktop-schemas-devel"
depends="hicolor-icon-theme desktop-file-utils gsettings-desktop-schemas>=3.14"
replaces="gnome-utils>=3.0"
short_desc="Look up words in dictionary sources"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=92cf2d519335b125018468c22405499fdb320e4446201c7b0f55f1a441bf05cc

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