# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=trojita pkgver=0.7_git20190618 pkgrel=1 _commit="90b417b131853553c94ff93aef62abaf301aa8f1" arch="all !armhf" # armhf blocked by qt5-qtwebkit url="http://trojita.flaska.net/" pkgdesc="A fast and lightweight IMAP e-mail client designed with standard-compliance in mind " license="GPL-2.0-only OR GPL-3.0-only" makedepends="cmake qt5-qtbase-dev qt5-qttools-dev qt5-qtsvg-dev qt5-qtwebkit-dev akonadi-contacts-dev sonnet-dev gpgme-dev" checkdepends="xvfb-run" source="$pkgname-$_commit.tar.gz::https://github.com/kde/$pkgname/archive/$_commit.tar.gz" builddir="$srcdir/$pkgname-$_commit" build() { cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="1d90ceecfa2bb653a862233f2c5890dade0d523b70f4b035464c6ebf39fbcc220bac5bd6b33ef93dad3e398765bb325cc72929cf517277a57a543c7eabed48bf trojita-90b417b131853553c94ff93aef62abaf301aa8f1.tar.gz"