# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-system-monitor pkgver=1.12.0 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="632af25880e356f41094f5268f30be14 mate-system-monitor-1.12.0.tar.xz" sha256sums="c995269e410466c586565bb03b2e7c3b9d6bde976c5f01f91f8fa0f03705156b mate-system-monitor-1.12.0.tar.xz" sha512sums="1a218c93390028a5825835a345adea33c39f3522178e626bbde1206ba71cfa875253a85dc20b039b613e8fcf02adf167f276f5b5b8cfa738e2ec5c91b6a3d4ae mate-system-monitor-1.12.0.tar.xz"