pkgname=toxcore pkgver=0.2.19 pkgrel=1 pkgdesc='Easy to use, all-in-one communication platform that ensures full privacy and secure message delivery.' arch=('x86_64') url='https://tox.chat' license=('GPL3') depends=('systemd' 'libconfig' 'libsndfile' 'libsodium' 'libvpx' 'opus' 'opencv' 'portaudio' 'msgpack-c') makedepends=('check' 'cmake') options=('!staticlibs') source=("https://github.com/TokTok/c-toxcore/releases/download/v${pkgver}/c-toxcore-${pkgver}.tar.gz") md5sums=('f60ddd2e4d632119fb6f108d8d679a21') build() { cmake -B build -S c-${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TOXAV=ON \ -DMUST_BUILD_TOXAV=ON \ -DBOOTSTRAP_DAEMON=ON cmake --build build } check() { cd c-${pkgname}-${pkgver} # tox_test #make check } package() { DESTDIR=${pkgdir} cmake --install build }