# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-desktop pkgver=1.12.1 pkgrel=0 pkgdesc="The MATE Desktop Environment" url="http://wiki.mate-desktop.org/mate-desktop" arch="all" license="GPL2" depends="mate-common yelp-tools" depends_dev="" makedepends="$depends_dev itstool intltool dconf-dev gtk+2.0-dev libxrandr-dev libxml2-utils" install="" subpackages="$pkgname-lang $pkgname-dev $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 \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } md5sums="f5e1fb4f0b59b3d09b00a90cb07bc281 mate-desktop-1.12.1.tar.xz" sha256sums="d9b96ac455340916a11b221d45a940c347e4428e5096035496d9f703eacf5a03 mate-desktop-1.12.1.tar.xz" sha512sums="bcd3731bded736cdb4e0531d9c35253c025fa654d51f3ffb72ad7768ef62a1407b6ef62c2ff6beb45b0a30c2fe85e8d72c3e13068c92716e85f99f103b562c9e mate-desktop-1.12.1.tar.xz"