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

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="a202d12062b0bbb872dcbf233e8a957652374ba4fef985971538d1bb787a15897d219a7e5cf5af90290fdaa76cc49848bf5147727ff3e5caedbc3457e49b5494  mate-themes-3.22.15.tar.xz"
