# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-utils
pkgver=1.28.0
pkgrel=0
pkgdesc="Utilities for the MATE Desktop"
url="https://github.com/mate-desktop/mate-utils"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	glib-dev
	gtk+3.0-dev
	inkscape
	intltool
	itstool
	libcanberra-dev
	libgtop-dev
	libsm-dev
	libxml2-utils
	mate-desktop-dev
	mate-panel-dev
	udisks2-dev
	"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-utils-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--sysconfdir=/etc \
		--enable-static=no \
		--prefix=/usr
	make
}

check() {
	make check
}

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

sha512sums="
bf64e0458bc60ebcda219201bb552239503cfddf576ebfba957d4d73ed69766d003fa7af8df9a271a795c6eb2db268a58a97b4251f9528d261edb98a4e94c72a  mate-utils-1.28.0.tar.xz
"
