4 pkgdesc="KDE Core Libraries"
6 url='http://www.kde.org'
7 license=('GPL' 'LGPL' 'FDL')
8 depends=('strigi-git' 'attica-git' 'libxss' 'xz' 'openssl' 'soprano-git' 'krb5'
9 'shared-desktop-ontologies' 'qca' 'libdbusmenu-qt-bzr' 'polkit-qt-git' 'grantlee'
10 'shared-mime-info' 'enchant' 'giflib' 'jasper' 'openexr' 'xdg-utils'
11 'phonon-git' 'hicolor-icon-theme' 'upower' 'udisks' 'libxcursor'
12 'docbook-xsl' 'herqq')
13 makedepends=('pkgconfig' 'cmake' 'automoc4' 'intltool' 'avahi' 'libgl'
18 install='kdelibs4-git.install'
20 _gitroot="git://anongit.kde.org/kdelibs"
27 msg "Connecting to the GIT server...."
29 if [[ -d $srcdir/$_gitname ]] ; then
32 msg "The local files are updated."
37 msg "GIT checkout done"
38 msg "Starting make..."
39 if [[ -d ${srcdir}/build ]]; then
40 msg "Cleaning the previous build directory..."
41 rm -rf ${srcdir}/build
45 cmake $startdir/src/$_gitname -DCMAKE_BUILD_TYPE=debugfull \
46 -DCMAKE_INSTALL_PREFIX=/usr \
47 -DCMAKE_SKIP_RPATH=ON \
48 -DKDE_DISTRIBUTION_TEXT='Arch Linux' \
49 -DSYSCONF_INSTALL_DIR=/etc \
50 -DHTML_INSTALL_DIR=/usr/share/doc/kde/html \
51 -DKDE_DEFAULT_HOME='.kde4git' \
53 -DBUILD_libkactivities:BOOL="0"
59 make DESTDIR=${pkgdir} install
60 rm -f $pkgdir/usr/share/apps/kssl/ca-bundle.crt
61 ln -sf /etc/ssl/certs/ca-certificates.crt $pkgdir/usr/share/apps/kssl/ca-bundle.crt