# Maintainer: Daurnimator # Contributor: Gaute Hope # Contributor: Johannes Heinz pkgname=astroid pkgver=0.16 pkgrel=6 pkgdesc="A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch" arch=('x86_64') url="https://github.com/astroidmail/astroid" license=('GPL3') depends=('boost-libs' 'gmime3' 'gobject-introspection-runtime' 'gtkmm3' 'libpeas' 'libsass' 'notmuch' 'protobuf' 'vte3' 'webkit2gtk') makedepends=('boost' 'cmake' 'cmark' 'gobject-introspection' 'ruby-ronn' 'w3m') checkdepends=('notmuch-runtime' 'xorg-server-xvfb') optdepends=('cmark: for markdown to html composition' 'emacs: can be used as editor' 'gvim: default editor') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/astroidmail/astroid/archive/v${pkgver}.tar.gz") sha256sums=('32ecb8c2fafe67f70c7d5f2bc60bda1796d98a56a75f7868c7c1ca50cd7baf5e') build() { cd "${pkgname}-${pkgver}" cmake -B build \ -DCMAKE_BUILD_TYPE="None" \ -DCMAKE_INSTALL_PREFIX="/usr" \ -Wno-dev cmake --build build } check() { cd "${pkgname}-${pkgver}" cd build xvfb-run ctest --output-on-failure } package() { cd "${pkgname}-${pkgver}" DESTDIR="${pkgdir}" cmake --install build }