# Contributor: Alan Lacerda # Maintainer: pkgname=mate-themes pkgver=1.9.0 pkgrel=0 pkgdesc="MATE themes" url="https://github.com/mate-desktop/mate-themes" arch="noarch" license="LGPL2" depends="mate-common" depends_dev="" makedepends="$depends_dev intltool gdk-pixbuf-dev gtk+-dev icon-naming-utils" install="" subpackages="$pkgname-lang" source="http://pub.mate-desktop.org/releases/1.9/$pkgname-$pkgver.tar.xz" _builddir="$srcdir/$pkgname-$pkgver" prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } md5sums="7e4c20e3bd82fa55b2695cb5bc9fb9df mate-themes-1.9.0.tar.xz" sha256sums="bda90434fc53d80fe15d44362c3851435b2e1a562ece243e489906340e31d36c mate-themes-1.9.0.tar.xz" sha512sums="e2ebe927cff9a6d6cd0fc6d37c510080fae2a7af64d70b59c0a892911c847d55e591a8f134d14059dcba406009f8b4c15e346fe28f64473a1b7c2415f385e69f mate-themes-1.9.0.tar.xz"