pkgname=xfce4-genmon-plugin
pkgver=3.4.0
pkgrel=1
pkgdesc="plugin that monitors customizable programs stdout for the Xfce4 panel"
arch=('i686' 'x86_64')
license=('LGPL2.1')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin"
groups=('xfce4-goodies')
depends=('xfce4-panel')
conflicts=('xfce4-genmon-plugin')
makedepends=('intltool')
options=('!libtool')
source=(http://archive.xfce.org/src/panel-plugins/xfce4-genmon-plugin/3.4/xfce4-genmon-plugin-$pkgver.tar.bz2 'ms.patch')
sha256sums=('b0a5337b49c85623dc89f3c9e47c7374b1d466af2418033d2d6dfc57a9790387' 'e48e8eec4e82836aa35cc4fea128f62d53c68f05bf661d8bde39f22abed80f66')
build() {
cd "$srcdir/xfce4-genmon-plugin-3.4"
patch -p1 < "$srcdir/ms.patch"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--disable-static \
--disable-debug
make
}
package() {
cd "$srcdir/xfce4-genmon-plugin-3.4"
make DESTDIR="$pkgdir" install
}