# Contributor: Alan Lacerda # Maintainer: pkgname=mate-applets pkgver=1.16.0 pkgrel=0 pkgdesc="Applets for use with the MATE panel" url="https://github.com/mate-desktop/mate-applets" arch="all" license="GPLv2" depends="mate-icon-theme" depends_dev="" makedepends="$depends_dev intltool gtk+3.0-dev mate-panel-dev libwnck-dev mate-desktop-dev dconf-dev itstool linux-headers libxml2-dev libxml2-utils" install="" subpackages="$pkgname-doc $pkgname-lang" source="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" options="suid" _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-stickynotes || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="${pkgdir}" install || return 1 } md5sums="c8ae59b77af9a7c5522e23425a5ee203 mate-applets-1.16.0.tar.xz" sha256sums="adcc895478f5b1e1c5c40f3f20537dcf809e0f06802850b890d323602f16d817 mate-applets-1.16.0.tar.xz" sha512sums="606fd39b95083e7cff2ce95e75b4acb0ec1f3d66621a15fa726891c6d6319f7757b92c8c26efd3ee05da9da3dc315b16a3a9089fd4bb8d420816d4728f8545af mate-applets-1.16.0.tar.xz"