1 # Maintainer: Tom Debruyne <tomdebruyne at gmail dot com>
5 pkgdesc="A graphical disk usage utility for KDE4"
8 depends=('kdebase-lib>=4.5')
9 url=('https://bitbucket.org/jeromerobert/k4dirstat')
11 makedepends=('docbook-xsl' 'automoc4' 'git' 'cmake')
12 provides=('k4dirstat')
13 conflicts=('k4dirstat')
15 _gitroot="https://bitbucket.org/jeromerobert/k4dirstat.git"
20 msg "Connecting to GIT server...."
22 if [ -d ${srcdir}/$_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf $srcdir/$_gitname-build
33 git clone $srcdir/$_gitname $srcdir/$_gitname-build
35 cd $srcdir/$_gitname-build
37 cmake -DCMAKE_INSTALL_PREFIX=/usr . || return 1
39 make DESTDIR=${pkgdir} install || return 1