# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=gnome-terminal
pkgver=3.26.0
pkgrel=0
pkgdesc="GNOME terminal client"
url="http://wiki.gnome.org/Apps/Terminal"
# limited by gnome-shell
arch="all !armhf !aarch64 !s390x"
license="GPL"
depends_dev="gnome-desktop-dev vte3-dev dconf-dev gconf-dev nautilus-dev"
makedepends="$depends_dev gnome-shell itstool libxml2-utils vala desktop-file-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/gnome-terminal-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

check() {
	cd "$builddir"
	make check
}

sha512sums="13e87fd0bfa5ebed9c8f91e9a57880b0d5b67adc31de6119e7547e4f3f84442e009f1fb9f525f5c1ccdf011bdc6f95c97cf8dab0760fe596a200860ffa880627  gnome-terminal-3.26.0.tar.xz"
