1 # Maintainer: Daniel Riedemann <daniel.riedemann [at] googlemail [dot] com>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Pierre Schmitz <pierre@archlinux.de>
8 pkgdesc="Instant Messenger"
10 url="http://kde.org/applications/internet/kopete/"
12 depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr' 'libmsn'
13 'libidn' 'qimageblitz' 'v4l-utils' 'libgadu')
14 makedepends=('subversion')
15 provides=('kdenetwork-kopete')
16 conflicts=('kdenetwork-kopete')
18 _svntrunk=svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork/kopete
24 if [[ -d ${_svnmod}/.svn ]]; then
25 (cd ${_svnmod} && svn up -r ${pkgver})
27 svn co ${_svntrunk} --config-dir ./ -r ${pkgver} ${_svnmod}
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 [[ -d "${srcdir}/${_svnmod}-build" ]] && rm -rf "${srcdir}/${_svnmod}-build"
34 cp -r "${srcdir}/${_svnmod}" "${srcdir}/${_svnmod}-build"
35 cd "${srcdir}/${_svnmod}-build"
37 cmake -DCMAKE_BUILD_TYPE=Release \
38 -DCMAKE_SKIP_RPATH=ON \
39 -DCMAKE_INSTALL_PREFIX=/usr \
40 -DMOZPLUGIN_INSTALL_DIR=/usr/lib/mozilla/plugins/ \
42 -DWITH_LibMeanwhile=OFF
44 make DESTDIR=${pkgdir} install