Update PKGBUILD to support new build configuration

master
Joseph Donofry 2020-01-30 18:10:01 -05:00
parent 04d17302c6
commit 987eedb6ea
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
1 changed files with 5 additions and 10 deletions

View File

@ -2,7 +2,7 @@
# Maintainer: Joseph Donofry <joe at joedonofry dot com> # Maintainer: Joseph Donofry <joe at joedonofry dot com>
pkgname=nheko-git pkgname=nheko-git
pkgver=0.7.0.r1050.cfd6c57 pkgver=0.7.0.r1380.7350863
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")
@ -35,14 +35,9 @@ build() {
# build with more cores than the default # build with more cores than the default
export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l) export CMAKE_BUILD_PARALLEL_LEVEL=$(cat /proc/cpuinfo | awk '/^processor/{print $3}' | wc -l)
cmake -Hdeps -B.deps -DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_CMARK=OFF -DUSE_BUNDLED_JSON=ON -DMTX_STATIC=ON cmake -H. -Bbuild -DHUNTER_ENABLED=ON -DBUILD_SHARED_LIBS=OFF -DUSE_BUNDLED_OPENSSL=OFF -DUSE_BUNDLED_BOOST=OFF -DUSE_BUNDLED_CMARK=OFF -DUSE_BUNDLED_JSON=ON \
cmake --build .deps
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release \
-DLMDBXX_INCLUDE_DIR=.deps/usr/include \
-DTWEENY_INCLUDE_DIR=.deps/usr/include \
-DCMAKE_INSTALL_PREFIX=.deps/usr -DCMAKE_INSTALL_PREFIX=.deps/usr
cmake --build build cmake --build build --config Release
} }
package() { package() {