summaryrefslogtreecommitdiff
path: root/extra/xfce4-genmon-plugin/PKGBUILD
blob: feda4bbe0bc91c2cf9c17c864780a843bfa80734 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 116662 2011-03-24 17:55:38Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Tobias Kieslich <tobias (at) archlinux.org>

pkgname=xfce4-genmon-plugin
pkgver=3.3.0
pkgrel=1.1.1
pkgdesc="plugin that monitors customizable programs stdout for the Xfce4 panel"
arch=(i686 x86_64 'mips64el')
license=('LGPL2.1')
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-genmon-plugin"
groups=('xfce4-goodies')
depends=('xfce4-panel' 'libxfcegui4')
makedepends=('gettext' 'intltool')
options=('!libtool')
source=(http://archive.xfce.org/src/panel-plugins/${pkgname}/3.3/${pkgname}-${pkgver}.tar.bz2)
md5sums=('7c95234dc99efc21bbf9d2b056dd21f9' '45323dd0f93c35a36f98d61ef0e2ba5b')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch panel-plugin/main.c ${srcdir}/patch.patch
  ./configure --prefix=/usr \
	--sysconfdir=/etc \
	--libexecdir=/usr/lib \
	--localstatedir=/var \
	--disable-static \
	--disable-debug
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
}