1 # Maintainer: (epsilom) Xavier Corredor <xavier.corredor.llano (at) gmail.com>
2 # Contributor: alexwizard
8 pkgdesc="A WebKit based web browser for KDE, with patch for localizations"
10 url="http://rekonq.kde.org"
12 depends=('kdebase-keditbookmarks' 'qtwebkit>=2.2.0' 'qt>=4.8')
13 makedepends=('cmake' 'automoc4' 'git' 'docbook-xsl' 'bc')
14 provides=(${_realname})
15 conflicts=(${_realname})
16 install=${pkgname}.install
17 source=(rekonq-git.install patch)
18 md5sums=('c354917df476f6ddfec82d0ccf7dfd85'
19 '3abf115af43ff7c672b384078b075a1a')
21 _gitroot="git://anongit.kde.org/${_realname}"
27 msg "Connecting to GIT server...."
29 if [ -d ${_gitname} ]; then
30 cd ${_gitname} && git pull origin
31 msg "The local files are updated."
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf ${srcdir}/build
40 git clone ${srcdir}/${_gitname} ${srcdir}/build
43 # patch and run localization files
44 patch -Np1 -i ${srcdir}/patch
46 export RK_SRCS="${srcdir}/build"
48 chmod +x download_i18n.sh
51 # end path and run localization files
53 cmake . -DCMAKE_BUILD_TYPE=Release \
54 -DCMAKE_INSTALL_PREFIX=/usr
60 make DESTDIR=${pkgdir} install