diff options
author | dobo90 | 2015-06-08 19:30:50 +0200 |
---|---|---|
committer | dobo90 | 2015-06-08 19:30:50 +0200 |
commit | 8d10b15993ace6e1d47959e4b513782e4c8328b6 (patch) | |
tree | d98b200332d7544d48d4fa2372782e337656a9ba | |
download | aur-8d10b15993ace6e1d47959e4b513782e4c8328b6.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 20 | ||||
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 37 | ||||
-rw-r--r-- | codequery.desktop | 9 | ||||
-rw-r--r-- | codequery.install | 17 |
5 files changed, 105 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..1a93f79a2390 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,20 @@ +pkgbase = codequery + pkgdesc = A code-understanding, code-browsing or code-search tool. + pkgver = 0.15a + pkgrel = 3 + url = http://ruben2020.github.io/codequery/ + install = codequery.install + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + depends = qscintilla + optdepends = cscope: creation of CodeQuery databases + optdepends = ctags: creation of CodeQuery databases + optdepends = python2-pycscope: creation of CodeQuery databases for Python source code + optdepends = ruby-starscope: creation of CodeQuery databases for Ruby and Go source code + source = https://github.com/ruben2020/codequery/archive/v0.15a.tar.gz + source = codequery.desktop + +pkgname = codequery + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..82b79c1fcc82 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = codequery + pkgdesc = A code-understanding, code-browsing or code-search tool. + pkgver = 0.15a + pkgrel = 3 + url = http://ruben2020.github.io/codequery/ + install = codequery.install + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = cmake + depends = qscintilla + optdepends = cscope: creation of CodeQuery databases + optdepends = ctags: creation of CodeQuery databases + optdepends = python2-pycscope: creation of CodeQuery databases for Python source code + optdepends = ruby-starscope: creation of CodeQuery databases for Ruby and Go source code + source = https://github.com/ruben2020/codequery/archive/v0.15a.tar.gz + source = codequery.desktop + md5sums = fdd51115a20fb6c3cf622abd631a7d62 + md5sums = ad7e15affffa643a29a6afdd47200006 + +pkgname = codequery + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ac0fde6dc4ac --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Dobroslaw Kijowski [dobo] <dobo90_at_gmail.com> + +pkgname=codequery +pkgver=0.15a +pkgrel=3 +pkgdesc='A code-understanding, code-browsing or code-search tool.' +arch=(i686 x86_64) +url=http://ruben2020.github.io/codequery/ +license=(GPL3) +depends=(qscintilla) +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=(fdd51115a20fb6c3cf622abd631a7d62 ad7e15affffa643a29a6afdd47200006) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + mkdir build + cd build + + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -G 'Unix Makefiles' .. + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver}/build + + 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 +} diff --git a/codequery.desktop b/codequery.desktop new file mode 100644 index 000000000000..a3fc13a86cc4 --- /dev/null +++ b/codequery.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Categories=Development;IDE; +Encoding=UTF-8 +Name=CodeQuery +GenericName=Tool for Indexing and Querying C, C++, Java and Python Sources +Type=Application +Exec=codequery +Icon=codequery.png + diff --git a/codequery.install b/codequery.install new file mode 100644 index 000000000000..9db382754ee1 --- /dev/null +++ b/codequery.install @@ -0,0 +1,17 @@ +update_icons() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null +} + +post_install() { + update_icons + echo 'See tutorial at https://github.com/ruben2020/codequery/blob/master/doc/HOWTO-LINUX.md to learn how to create CodeQuery databases' +} + +post_upgrade() { + update_icons +} + +post_remove() { + update_icons +} + |