1 # Maintainer: Roozbeh Shafiee <Roozbeh@Roozbeh.us>
6 pkgdesc="A Twitter/identi.ca/laconica client for KDE 4."
7 url="http://choqok.gnufolks.org"
9 depends=('kdelibs' 'qjson' 'qoauth' 'qca-ossl')
10 makedepends=('git' 'cmake' 'automoc4' 'docbook-xsl')
12 conflicts=('choqok-svn choqok')
17 _gitroot="git://anongit.kde.org/choqok"
23 msg "Connecting to GIT server...."
25 if [ -d "${srcdir}/${_gitname}" ] ; then
26 cd ${_gitname} && git pull --rebase
31 msg "GIT checkout done or server timeout"
32 msg "Starting make..."
34 rm -rf ${srcdir}/build
35 mkdir -p ${srcdir}/build
36 cd ${srcdir}/build || return 1
38 cmake -DCMAKE_INSTALL_PREFIX=$( kde4-config --prefix ) -DCMAKE_BUILD_TYPE=Release ../${_gitname}
41 make DESTDIR=$pkgdir install || return 1