aboutsummaryrefslogtreecommitdiffstats
path: root/testing/trojita/APKBUILD
blob: 042ef41daf4889ebadfd72ddc13c7d2e558284da (plain) (blame)
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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=trojita
pkgver=0.7_git20190618
pkgrel=1
_commit="90b417b131853553c94ff93aef62abaf301aa8f1"
arch="all"
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"