# Contributor: Alan Lacerda <alacerda@alpinelinux.org>
# Maintainer: Alan Lacerda <alacerda@alpinelinux.org>
pkgname=mate-themes
pkgver=3.22.26
pkgrel=0
pkgdesc="MATE themes"
url="https://github.com/mate-desktop/mate-themes"
arch="noarch"
license="LGPL-2.1-or-later"
depends="mate-common"
makedepends="intltool gdk-pixbuf-dev gtk+2.0-dev icon-naming-utils gtk+3.0-dev"
subpackages="$pkgname-lang"
source="https://pub.mate-desktop.org/releases/themes/${pkgver%.*}/mate-themes-$pkgver.tar.xz"

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

check() {
	make check
}

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

sha512sums="
fdccbdb3692d17b7b3060b2eb6cda1237ad270fdc20e34c67dc1012327526088141705c623564eaa86e8b1d0793cca63cd8f59cfcc9ff38dc3a73f89adadd6d9  mate-themes-3.22.26.tar.xz
"
