blob: 9c64ceef6aa344c29fbe5843702d85c8ae9b43df (
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
40
41
42
43
44
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kpeoplesink
pkgver=0_git20210224
pkgrel=0
_commit="6f382e619e22f9f34b0760fc19a23eb1863bf45b"
pkgdesc="Expose Sink contacts to KPeople"
url="https://invent.kde.org/pim/kpeoplesink"
# armhf blocked by qt5-qtdeclarative
# s390x, mips64 and riscv64 blocked by signon-ui -> kaccounts-integration
# ppc64le blocked by kaccounts-integration
arch="all !armhf !s390x !mips64 !riscv64 !ppc64le"
license="LGPL-2.1-or-later"
makedepends="
extra-cmake-modules
kaccounts-integration-dev
kcontacts-dev
kcoreaddons-dev
kpeople-dev
qt5-qtbase-dev
sink-dev
"
source="https://invent.kde.org/pim/kpeoplesink/-/archive/$_commit/kpeoplesink-$_commit.tar.gz"
options="!check" # Broken tests
builddir="$srcdir/$pkgname-$_commit"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
check() {
cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="04181dd34cb34b127a292b9294652adb82a3857b5a2de25ffaa27b13f971e6faa0abe1986e458a7a90298339ebbcdc10b1626d4ff2ff891baebf1ad1b45a1fe4 kpeoplesink-6f382e619e22f9f34b0760fc19a23eb1863bf45b.tar.gz"
|