# Template file for 'gnome-dictionary'
pkgname=gnome-dictionary
version=3.6.0
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-compile --disable-scrollkeeper"
depends="hicolor-icon-theme desktop-file-utils"
makedepends="which pkg-config intltool itstool gnome-doc-utils
gtk+3-devel>=3.6.0_2 gsettings-desktop-schemas-devel>=3.6.0"
fulldepends="gsettings-desktop-schemas>=3.6.0"
short_desc="Look up words in dictionary sources"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/3.6/$pkgname-$version.tar.xz"
checksum=1ad03f629bbfe4360fc6d8dd2d7cb4a03e24579068bdd79a25ff5fc5fbff6fa9
long_desc="
 This package contains $pkgname, to look up words in dictionary sources."

replaces="gnome-utils>=3.0"
gtk_iconcache_dirs="/usr/share/icons/hicolor"

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