updated on Thu Jan 12 00:00:55 UTC 2012
[aur-mirror.git] / kcollectd / PKGBUILD
blob9f6b6297fcb2c78553e246983840700878a7d296
1 # Contributor: h8red  h8red at yandex dot ru
2 pkgname=kcollectd
3 pkgver=0.9
4 pkgrel=2.1
5 pkgdesc="Kcollectd is a small applications that allows to view rrd datacollections that have been created by collectd."
6 arch=('i686' 'x86_64')
7 url="http://www.forwiss.uni-passau.de/~berberic/Linux/kcollectd.html"
8 license=('LGPL')
9 groups=()
10 depends=('kdelibs' 'collectd' 'kdebase-workspace' 'boost-libs')
11 makedepends=('gcc' 'cmake' 'automoc4')
12 provides=()
13 conflicts=()
14 replaces=()
15 backup=()
16 options=()
17 source=(http://www.forwiss.uni-passau.de/~berberic/Linux/kcollectd/$pkgname-$pkgver.tar.gz
18   http://ftp.de.debian.org/debian/pool/main/k/kcollectd/$pkgname'_'$pkgver-$pkgrel.diff.gz
20 noextract=()
21 md5sums=('7fef4a660207b4c65520ee77334088fb'
22   '7dc0a3be745aa5156946fe6c9cec5405')
23 build() {
24   cd $srcdir
25   patch -p0 -i $pkgname'_'$pkgver-$pkgrel.diff
26   cd $pkgname-$pkgver
27   mkdir build && cd build
28   cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. || return 1
29   make || return 1
30   make DESTDIR="$pkgdir/" install || return 1