# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=mate-icon-theme
pkgver=1.24.0
pkgrel=0
pkgdesc="Default icon theme for the MATE desktop environment"
url="https://mate-desktop.org"
arch="noarch"
license="LGPL-3.0-only OR CC-BY-SA-3.0"
depends=""
makedepends="icon-naming-utils-dev intltool"
subpackages="$pkgname-lang"
source="https://pub.mate-desktop.org/releases/${pkgver%.*}/mate-icon-theme-$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="18ad6a236f02b7536697fed9086eadd997f0c47cc8311324e43641b21ccf942d0dbd52fa6c49623e679d3b23d82619cc256c98d9f8ccc3b3d4cda5d9a6e465f1  mate-icon-theme-1.24.0.tar.xz"