blob: 8f159045d3616072508f51e405442de194b61795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
pkgname=trojita-git
pkgver=0.7.r439.g10033f1b
pkgrel=1
pkgdesc="A fast QT IMAP e-mail client"
arch=(i686 x86_64)
url="http://trojita.flaska.net"
license=('GPL')
depends=('qt5-webkit' 'qtkeychain' 'qt5-tools' 'qt5-svg' 'mimetic'
'qgpgme-qt5' 'desktop-file-utils' 'sonnet5' 'ragel')
conflicts=('trojita')
provides=('trojita')
makedepends=('git' 'cmake' 'boost')
source=('git+https://invent.kde.org/pim/trojita.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/trojita"
git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/trojita"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_QT5=ON \
-DWITH_QTKEYCHAIN_PLUGIN=ON \
-DWITH_GPGMEPP=ON \
-DWITH_CRYPTO_MESSAGES=ON \
.
make
}
package() {
cd "$srcdir/trojita"
make install DESTDIR="$pkgdir"
}
|