# Template file for 'gnome-terminal'
pkgname=gnome-terminal
version=3.6.0
revision=1
build_style=gnu-configure
configure_args="--disable-schemas-install --disable-scrollkeeper
--with-gconf-schema-file-dir=/usr/share/gconf/schemas"
makedepends="which pkg-config intltool itstool gnome-doc-utils dbus-glib-devel
gtk+3-devel>=3.6.0_2 vte3-devel gsettings-desktop-schemas-devel>=3.6.0
GConf-devel"
fulldepends="desktop-file-utils gsettings-desktop-schemas>=3.6.0"
short_desc="The GNOME terminal emulator application"
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=5ee068ca7f4d0e410aabbddee3937559138163d84c00e5bef1e9050beb7409cd
long_desc="
 GNOME Terminal is a terminal emulation application that you can use to
 perform the following actions:

  - Access a UNIX shell in the GNOME environment.
  - Run any application that is designed to run on VT102, VT220,
    and xterm terminals.

 GNOME Terminal features the ability to use multiple terminals in a single
 window (tabs) and profiles support."

gconf_schemas="$pkgname.schemas"

post_install() {
	mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
	gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${gconf_schemas} \
		--domain ${pkgname} ${wrksrc}/*.schemas
}
