# Contributor: Kiyoshi Aman <adelie@aerdan.vulpine.house>
# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house>
pkgname=mate-netbook
pkgver=1.24.0
pkgrel=0
pkgdesc="Netbook-oriented window manager for the MATE desktop environment"
url="https://mate-desktop.org"
arch="all"
license="GPL-3.0-only AND LGPL-2.0+"
depends=""
makedepends="gtk+3.0-dev intltool libfakekey-dev libwnck-dev libxtst-dev
	mate-panel-dev"
subpackages="$pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-netbook-$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="fd2efbfaa3fb53f96bf9bff28eba70d3cd46b723a63e6748af0cb8314821cbafdc8d0122d402e89ac2742247685e630544f3d98149514114de5a3e38f7fbe471  mate-netbook-1.24.0.tar.xz"