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
18 md5sums=('3abf115af43ff7c672b384078b075a1a')
20 _gitroot="git://anongit.kde.org/${_realname}"
26 msg "Connecting to GIT server...."
28 if [ -d ${_gitname} ]; then
29 cd ${_gitname} && git pull origin
30 msg "The local files are updated."
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf ${srcdir}/build
39 git clone ${srcdir}/${_gitname} ${srcdir}/build
42 # patch and run localization files
43 patch -Np1 -i ${srcdir}/patch
45 export RK_SRCS="${srcdir}/build"
47 chmod +x download_i18n.sh
50 # end path and run localization files
52 cmake . -DCMAKE_BUILD_TYPE=Release \
53 -DCMAKE_INSTALL_PREFIX=/usr
59 make DESTDIR=${pkgdir} install