diff options
author | Konstantinos Sideris | 2017-08-10 23:36:34 +0300 |
---|---|---|
committer | Konstantinos Sideris | 2017-08-10 23:36:34 +0300 |
commit | 425afb6a875b1c1314af9c59b33f4fc0fa9224b8 (patch) | |
tree | c5c554e239e55e2b7583e3dd6d18f73dfc0133ca | |
parent | ed8f3c15bfab2039f7e2248010deee22caca05ec (diff) | |
download | aur-425afb6a875b1c1314af9c59b33f4fc0fa9224b8.tar.gz |
Use submodules and depend on lmdb
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 20 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = nheko-git pkgdesc = Desktop client for the Matrix protocol - pkgver = 0.1.0.e78e43c86a39 + pkgver = 0.1.0.r174.c428ef4b pkgrel = 1 url = https://github.com/mujx/nheko arch = i686 @@ -12,7 +12,9 @@ pkgbase = nheko-git makedepends = fontconfig makedepends = qt5-tools depends = qt5-base - source = nheko-git::git+https://github.com/mujx/nheko.git + depends = lmdb + source = git://github.com/mujx/nheko.git + source = git://github.com/bendiken/lmdbxx.git md5sums = SKIP pkgname = nheko-git @@ -1,23 +1,31 @@ # Maintainer: Konstantinos Sideris <siderisk at auth dot gr> pkgname=nheko-git -pkgver=0.1.0.e78e43c86a39 +pkgver=0.1.0.r174.c428ef4b pkgrel=1 pkgdesc="Desktop client for the Matrix protocol" -arch=('i686' 'x86_64') +arch=("i686" "x86_64") url="https://github.com/mujx/nheko" -license=('GPL3') +license=("GPL3") -depends=('qt5-base') -makedepends=('git' 'cmake' 'gcc' 'fontconfig' 'qt5-tools') +depends=("qt5-base" "lmdb") +makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools") -source=($pkgname::git+https://github.com/mujx/nheko.git) -md5sums=('SKIP') +source=("git://github.com/mujx/nheko.git" + "git://github.com/bendiken/lmdbxx.git") +md5sums=("SKIP") + +prepare() { + cd nheko + git submodule init + git config submodule.lmdbxx.url $srcdir/libs/lmdbxx + git submodule update +} pkgver() { cd "$pkgname" - printf "0.1.0.%s" "$(git rev-parse --short HEAD)" + printf "0.1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { |