blob: 12390df84210c7cd128921a59da319edd3179bf9 (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libgravatar
pkgver=19.08.3
pkgrel=0
pkgdesc="KDE PIM library providing Gravatar support"
arch="all"
url="https://kontact.kde.org/"
license="LGPL-2.0-or-later"
depends_dev="qt5-qtbase-dev ki18n-dev kconfig-dev kwidgetsaddons-dev ktextwidgets-dev kio-dev pimcommon-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="dea215bc8ea7820b187d0799a1f1e4ed77db0c48247ead770c3e473db03075d8f607e59eb01582c961fa474eea9ead27501f5e6034e58d316d03f1aca3ef7460 libgravatar-19.08.3.tar.xz"
|