blob: 390f955f379823e0e330fa53c9725d4d5c45e8f7 (
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
|
# Maintainer: Tom Hacohen <tom@stosb.com>
pkgname=kdepim-runtime-etesync-git
_pkgname=kdepim-runtime-etesync
pkgver=v20.08.1.r218.g05354bbd3
pkgrel=1
pkgdesc='Extends the functionality of kdepim (with etesync modules)'
arch=(x86_64)
url='https://kontact.kde.org'
license=(GPL LGPL FDL)
depends=(libkolabxml kdav akonadi-calendar knotifyconfig kalarmcal kmbox pimcommon akonadi-notes akonadi qca qt5-networkauth kdepim-runtime etebase)
makedepends=(extra-cmake-modules kdoctools boost git)
source=("${_pkgname}::git+https://invent.kde.org/pim/kdepim-runtime?branch=release/20.12"
"0001-XXX-Ease-version-requirements.patch"
)
sha512sums=('SKIP'
'SKIP'
)
pkgver() {
cd "$srcdir/$_pkgname"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "$_pkgname"
git apply ../0001-XXX-Ease-version-requirements.patch
}
build() {
cmake -B build -S "${_pkgname}" \
-DBUILD_TESTING=OFF
cmake --build build/resources/etesync
}
package() {
DESTDIR="$pkgdir" cmake --install build/resources/etesync
}
|