Use submodules and depend on lmdb

patch-6ee5522513d8ef3f2bb53d8fc09b93876f919a8a
Konstantinos Sideris 2017-08-10 23:36:34 +03:00
parent ed8f3c15bf
commit 425afb6a87
2 changed files with 20 additions and 10 deletions

View File

@ -1,6 +1,6 @@
pkgbase = nheko-git pkgbase = nheko-git
pkgdesc = Desktop client for the Matrix protocol pkgdesc = Desktop client for the Matrix protocol
pkgver = 0.1.0.e78e43c86a39 pkgver = 0.1.0.r174.c428ef4b
pkgrel = 1 pkgrel = 1
url = https://github.com/mujx/nheko url = https://github.com/mujx/nheko
arch = i686 arch = i686
@ -12,7 +12,9 @@ pkgbase = nheko-git
makedepends = fontconfig makedepends = fontconfig
makedepends = qt5-tools makedepends = qt5-tools
depends = qt5-base 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 md5sums = SKIP
pkgname = nheko-git pkgname = nheko-git

View File

@ -1,23 +1,31 @@
# Maintainer: Konstantinos Sideris <siderisk at auth dot gr> # Maintainer: Konstantinos Sideris <siderisk at auth dot gr>
pkgname=nheko-git pkgname=nheko-git
pkgver=0.1.0.e78e43c86a39 pkgver=0.1.0.r174.c428ef4b
pkgrel=1 pkgrel=1
pkgdesc="Desktop client for the Matrix protocol" pkgdesc="Desktop client for the Matrix protocol"
arch=('i686' 'x86_64') arch=("i686" "x86_64")
url="https://github.com/mujx/nheko" url="https://github.com/mujx/nheko"
license=('GPL3') license=("GPL3")
depends=('qt5-base') depends=("qt5-base" "lmdb")
makedepends=('git' 'cmake' 'gcc' 'fontconfig' 'qt5-tools') makedepends=("git" "cmake" "gcc" "fontconfig" "qt5-tools")
source=($pkgname::git+https://github.com/mujx/nheko.git) source=("git://github.com/mujx/nheko.git"
md5sums=('SKIP') "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() { pkgver() {
cd "$pkgname" 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() { build() {