mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Update AUR build script with lmdb
This commit is contained in:
parent
c428ef4b6a
commit
21c2f96061
1 changed files with 15 additions and 8 deletions
23
dist/AUR/PKGBUILD
vendored
23
dist/AUR/PKGBUILD
vendored
|
@ -1,23 +1,30 @@
|
||||||
# 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=($pkgname::git://github.com/mujx/nheko.git git://github.com/bendiken/lmdbxx.git)
|
||||||
md5sums=('SKIP')
|
md5sums=("SKIP" "SKIP")
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd "$pkgname"
|
||||||
|
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() {
|
||||||
|
|
Loading…
Reference in a new issue