# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=mate-terminal
pkgver=1.24.0
pkgrel=0
pkgdesc="Terminal emulator for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="GPL-3.0+ AND LGPL-3.0+"
depends=""
makedepends="dconf-dev gtk+3.0-dev intltool itstool libsm-dev libxml2-utils
	vte-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-terminal-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="2ad25411a8e720d3ef43964dc9f80732e215b1b5154e904069d25e73910c0c8f0e1b100d21f85b9a1eec06f6b17f891791445f7830bb52fc44b67fa3f8cebf76  mate-terminal-1.24.0.tar.xz"