# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-control-center pkgver=1.12.1 pkgrel=0 pkgdesc="MATE's main interface for configuration of various aspects of your desktop" url="https://github.com/mate-desktop/mate-control-center" arch="all" license="GPL2" depends="mate-common mate-menus mate-desktop mate-icon-theme desktop-file-utils" depends_dev="" makedepends="$depends_dev dbus-glib-dev libtool intltool itstool gtk+2.0-dev dconf-dev mate-menus-dev libunique-dev marco-dev mate-settings-daemon-dev libmatekbd-dev libxklavier-dev mate-desktop-dev" 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 \ --disable-update-mimedb \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } md5sums="e0667a3dfc49ca822399f06a82482dd3 mate-control-center-1.12.1.tar.xz" sha256sums="851f08e69ec8f513b8971262a439c83ef837b2a7467690313672b6a9d9a179fb mate-control-center-1.12.1.tar.xz" sha512sums="4023511113c993b2420666803a273923b161cd3fff74b07e02f3dd9a80baea47278ca5c10a5baec673818390174a9f0b5c2d8db81c653f48c411cf5f53cc2dce mate-control-center-1.12.1.tar.xz"