summary refs log tree commit diff
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-08-10 23:55:08 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-08-10 23:55:08 +0300
commit21c2f96061bb6ca76f37838557a4ed615da73677 (patch)
treec35b0b12463983fc1c2ef58ce4c5e76e80e568bb
parentRemove unused variable (diff)
downloadnheko-21c2f96061bb6ca76f37838557a4ed615da73677.tar.xz
Update AUR build script with lmdb
-rw-r--r--dist/AUR/PKGBUILD23
1 files changed, 15 insertions, 8 deletions
diff --git a/dist/AUR/PKGBUILD b/dist/AUR/PKGBUILD

index 065b0770..3ec5708d 100644 --- a/dist/AUR/PKGBUILD +++ b/dist/AUR/PKGBUILD
@@ -1,23 +1,30 @@ # 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=($pkgname::git://github.com/mujx/nheko.git git://github.com/bendiken/lmdbxx.git) +md5sums=("SKIP" "SKIP") + +prepare() { + cd "$pkgname" + 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() {