# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-system-monitor pkgver=1.12.1 pkgrel=0 pkgdesc="A system monitor for MATE" url="https://github.com/mate-desktop/mate-system-monitor" arch="all" license="GPLv2" depends="mate-icon-theme" depends_dev="" makedepends="$depends_dev gtk+2.0-dev libwnck-dev gtkmm-dev libgtop-dev librsvg-dev glibmm-dev itstool linux-headers libxml2-utils" install="" subpackages="$pkgname-doc" 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="c6ba46db6bc16a1d087b19d238b6d642 mate-system-monitor-1.12.1.tar.xz" sha256sums="7668ecba70b7f56f3bcfb143cb6b93a15daf8636fcf678491112afea1a49dea9 mate-system-monitor-1.12.1.tar.xz" sha512sums="8490d710fe65427c780f0ea5d39f7914dd4d114a6303d33cac64be53492da5a33188731724ca393fd2ece518432770c96bf05dc1524010da1671a1465c6d32a6 mate-system-monitor-1.12.1.tar.xz"