# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=mate-panel pkgver=1.18.3 pkgrel=0 pkgdesc="The MATE panel is the area on your desktop from which you can run applications" url="https://github.com/mate-desktop/mate-panel" arch="all" license="GPL2" depends="mate-common mate-desktop" depends_dev="" makedepends="$depends_dev librsvg-dev libmateweather-dev libtool intltool itstool mate-menus-dev dconf-dev libice-dev libsm-dev libcanberra-dev dbus-glib-dev libwnck3-dev libsoup-dev mate-desktop-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 \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } sha512sums="55eea63abe1b60a04c72a4e8158e62eab9101545343d2063bd9f98d21c5e87c283ad942bca7c160403e6ed4bf9250b850c67d4b9a6e56b602487895e2ce16ca3 mate-panel-1.18.3.tar.xz"