# Contributor: Alan Lacerda # Maintainer: pkgname=mate-applets pkgver=1.12.1 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+2.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="7959bb6770cda3e943bb24db4c7a4211 mate-applets-1.12.1.tar.xz" sha256sums="0a3bc19e59c69eccdcc2342f29b7837563e51fbefdb232ca1884ca23d8f69c99 mate-applets-1.12.1.tar.xz" sha512sums="c9acac98df31386b4016d42d3d1fe0e9ddd5e8fccc291269cff73e2a4c0853fabb85a649ee14f4aef3200c0f731c1d95f48aefdb3d8baaf014ad8776c1e94234 mate-applets-1.12.1.tar.xz"