# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-utils pkgver=1.18.2 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 } sha512sums="4db4dd0ad986c52978a9fe7f893a0e1d8086b1685d8b162df9b7e7b33c9d8e47a85efc45f2db4cf45058cc91df3f909ece1b44e46c16a1a389070d8cd022348d mate-utils-1.18.2.tar.xz"