summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDobroslaw Kijowski2018-11-14 21:01:33 +0100
committerDobroslaw Kijowski2018-11-14 21:02:20 +0100
commitf04f4d3cfde0b14c03791d6042be2c420e15c8ff (patch)
treef31451c0778bf22e0b3a861159cb4197e16bee19 /PKGBUILD
parent9558464145faf8397484da0a8d16163226523ef4 (diff)
downloadaur-codequery.tar.gz
* Upstream upgrade to 0.21.1
* Switch to qt5. * It compiles qscintilla statically so exclude it from dependencies.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index afb49988bf0..507c66a2a03 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,37 @@
# Maintainer: Dobroslaw Kijowski [dobo] <dobo90_at_gmail.com>
pkgname=codequery
-pkgver=0.21.0
+pkgver=0.21.1
pkgrel=1
pkgdesc='A code-understanding, code-browsing or code-search tool.'
arch=(i686 x86_64)
url=http://ruben2020.github.io/codequery/
license=(GPL3)
-depends=(qscintilla)
+depends=(qt5-base)
makedepends=(cmake)
optdepends=('cscope: creation of CodeQuery databases'
'ctags: creation of CodeQuery databases'
# 'python2-pycscope: creation of CodeQuery databases for Python source code'
'ruby-starscope: creation of CodeQuery databases for Ruby and Go source code')
-install=codequery.install
-source=(https://github.com/ruben2020/codequery/archive/v${pkgver}.tar.gz codequery.desktop)
-md5sums=('8e7ca5826939be860b161a7310dd6429'
+source=("https://github.com/ruben2020/codequery/archive/v${pkgver}.tar.gz" codequery.desktop)
+md5sums=('4ecb79636f76d89599384cc49d04e04b'
'ad7e15affffa643a29a6afdd47200006')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
+ cd "${srcdir}/${pkgname}-${pkgver}"
mkdir build
cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles' ..
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles' -DBUILD_QT5=ON ..
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}/build
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
- make DESTDIR=${pkgdir} install
+ make DESTDIR="${pkgdir}" install
- install -D -m 644 ${srcdir}/codequery.desktop ${pkgdir}/usr/share/applications/codequery.desktop
- install -D -m 644 ${srcdir}/${pkgname}-${pkgver}/gui/images/logo.png ${pkgdir}/usr/share/pixmaps/codequery.png
+ install -D -m 644 "${srcdir}/codequery.desktop" "${pkgdir}/usr/share/applications/codequery.desktop"
+ install -D -m 644 "${srcdir}/${pkgname}-${pkgver}/gui/images/logo.png" "${pkgdir}/usr/share/pixmaps/codequery.png"
}