diff options
author | Lukas Werling | 2016-05-19 21:32:42 +0200 |
---|---|---|
committer | Lukas Werling | 2016-05-19 22:26:59 +0200 |
commit | 25fbbb07fc59393ae788574dc85aaec848bc040d (patch) | |
tree | 9642715f8a1a2efc0e189e18b3bf8774be141376 | |
parent | a73b61f43bcf6d6b1309ef9fd427d5ad4bc0608f (diff) | |
download | aur-25fbbb07fc59393ae788574dc85aaec848bc040d.tar.gz |
Use Qt5 instead of Qt4
-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 } |