diff options
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,5 +1,6 @@ # vim: set shiftwidth=3: # Maintainer: Adrian Bacircea <adrian.bacircea@gmail.com> +# Contributor: Lukas Werling <lukas.werling@gmail.com> pkgname=sourceweb pkgver=r401.148955d pkgrel=1 @@ -7,8 +8,8 @@ pkgdesc="Source code indexer and code navigation tool for C/C++ code." arch=('x86_64') url="https://github.com/rprichard/sourceweb" license=('BSD') -depends=('qt4' 'python') -makedepends=('qt4' 'llvm' 'clang') +depends=('qt5-base' 'python') +makedepends=('llvm' 'clang') source=("${pkgname}::git+https://github.com/rprichard/sourceweb") sha256sums=('SKIP') @@ -27,7 +28,11 @@ prepare() { build() { cd "${pkgname}" - ./configure --prefix="/usr" + ./configure --prefix="/usr" --with-qmake=/usr/bin/qmake-qt5 + + # Fix broken include path generated by qmake. + sed -i 's#-isystem /usr/include##' clang-indexer/Makefile + make } |