1 # Maintainer: Rick W. Chen <stuffcorpse@archlinux.us>
2 pkgname=massif-visualizer-git
5 pkgdesc="Massif data visualization tool"
7 url="https://projects.kde.org/projects/playground/sdk/massif-visualizer"
9 depends=('kdelibs' "kgraphviewer>=2.1")
11 provides=('massif-visualizer')
12 conflicts=('massif-visualizer')
16 _gitroot="git://anongit.kde.org/massif-visualizer"
17 _gitname="massif-visualizer"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_gitname-build"
34 git clone -l "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
42 -DCMAKE_BUILD_TYPE=Release \
43 -DCMAKE_INSTALL_PREFIX=/usr \
49 cd "$srcdir/$_gitname-build"
50 make DESTDIR="$pkgdir/" install