# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-utils pkgver=1.16.0 pkgrel=0 pkgdesc="Utilities for the MATE Desktop" url="https://github.com/mate-desktop/mate-utils" arch="all" license="GPLv2" depends="" depends_dev="" makedepends="$depends_dev intltool glib-dev gtk+2.0-dev mate-panel-dev libgtop-dev libcanberra-dev itstool libsm-dev libxml2-utils" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$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 \ --sysconfdir=/etc \ --prefix=/usr \ --enable-all-themes || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } md5sums="530d2464098e815e3bd15ae3d52ba934 mate-utils-1.16.0.tar.xz" sha256sums="05aad0bc57647e2d084f6588dd43692c8bd2a4284c9917d17033ca016b47c842 mate-utils-1.16.0.tar.xz" sha512sums="a12883b732b0ac597c28c45609bde6fdf86369a3a00a16619617ec3834465fe85e83c4872a84a20d9d9a734c8180eae7e730f7cdfb4a6a41fdd14c59f607cacb mate-utils-1.16.0.tar.xz"