# Maintainer: Luca Weiss # Contributor: Konstantinos Sideris pkgname=nheko pkgver=0.10.0 pkgrel=1 pkgdesc="Desktop client for the Matrix protocol" arch=('x86_64' 'i686') url="https://github.com/Nheko-Reborn/nheko" license=('GPL3') depends=('qt5-multimedia' 'qt5-svg' 'qt5-quickcontrols2' 'qt5-graphicaleffects' 'qtkeychain-qt5' 'hicolor-icon-theme' 'lmdb' 'cmark' 'mtxclient>=0.4.1' 'spdlog' 'gst-plugins-base-libs' 'gst-plugins-bad-libs') makedepends=('cmake' 'boost' 'qt5-tools' 'nlohmann-json' 'lmdbxx' 'tweeny' 'asciidoc') source=("$pkgname-$pkgver.tar.gz::https://github.com/Nheko-Reborn/nheko/archive/v$pkgver.tar.gz") sha512sums=('c0aaf0f9ea657c43867fbb6857db45cac30f0cbaeaf8ad6a20a1a3e1ab9e6cf15266444eada060666db5b94be5a72b95b371a4da62e6705eed49f9907c576954') prepare() { mkdir -p build } build() { cd build cmake ../$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib # The compilation takes up a *lot* of RAM (over 10GB with 6 threads) # Adjust your MAKEFLAGS in /etc/makepkg.conf or add e.g. a "-j3" flag to the make command make } package() { cd build make DESTDIR="$pkgdir" install }