pkgname=mate-icon-theme
pkgver=1.1.0
pkgrel=1
pkgdesc="MATE icon theme"
arch=('any')
license=('GPL')
depends=('hicolor-icon-theme' 'icon-naming-utils' 'gtk-update-icon-cache')
makedepends=('intltool')
url="http://matsusoft.com.ar/projects"
groups=('mate')
source=(http://sourceforge.net/projects/matede/files/${pkgver}/${pkgname}.tar.gz/download)
sha256sums=('23ca96e7e1c86afb5538a3b7e504ce03ddd5ffbf2ef7a7ab1e368208bfef50a4')
install=mate-icon-theme.install

build() {
    cd "${srcdir}/${pkgname}"
    ./autogen.sh --prefix=/usr || return 1
    make || return 1
}

package() {
    cd "${srcdir}/${pkgname}"
    make DESTDIR="${pkgdir}" install
    #don't include icon cache
    rm -f  "${pkgdir}/usr/share/icons/mate/icon-theme.cache"
}
