trojita: edit dependency

This commit is contained in:
Chaoting Liu 2017-09-09 21:25:29 +01:00
parent 2a4dc78868
commit 7e98152d60

View File

@ -1,11 +1,11 @@
pkgname=trojita
pkgver=0.7
pkgrel=2
pkgrel=3
pkgdesc="Trojita is a Qt IMAP e-mail client."
arch=('x86_64')
url="http://trojita.flaska.net"
license=('GPL')
depends=('qt5-webkit' 'qt5-translations' 'qt5-svg' 'qtkeychain-qt5' 'zlib'
depends=('qt5-webkit' 'qt5-translations' 'qt5-svg' 'qtkeychain' 'zlib'
'ragel' 'libdbus' 'gpgme' 'mimetic' 'boost')
makedepends=('cmake' 'qt5-tools')
categories=('network')
@ -27,11 +27,19 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver/build"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBUILD_TESTING=OFF ..
-DCMAKE_INSTALL_PREFIX=/usr ..
make
}
check() {
cd "$srcdir/$pkgname-$pkgver/build"
make test || true
#The following tests FAILED:
# 3 - test_Html_formatting (OTHER_FAULT)
#Errors while running CTest
}
package() {
cd "$srcdir/$pkgname-$pkgver"/build/
make DESTDIR=${pkgdir} install