PKGBUILD 1.3 KB
Newer Older
AlmAck's avatar
AlmAck committed
1 2
# Include global configuration
pkgname=akonadi-contacts
totte's avatar
totte committed
3
pkgver=19.08.2
4
pkgrel=3
AlmAck's avatar
AlmAck committed
5 6 7 8
pkgdesc="Libraries and daemons to implement Contact Management in Akonadi"
arch=(x86_64)
url="https://community.kde.org/KDE_PIM"
license=(LGPL)
Luca Giambonini's avatar
Luca Giambonini committed
9
depends=(akonadi grantlee kcontacts kmime qt5-webengine prison)
AlmAck's avatar
AlmAck committed
10 11 12
makedepends=(extra-cmake-modules kdesignerplugin kdoctools python boost akonadi-mime kcalcore)
conflicts=(akonadi-contact)
replaces=(akonadi-contact)
13
provides=(akonadi-contact)
AlmAck's avatar
AlmAck committed
14

15
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
totte's avatar
totte committed
16
sha256sums=('eafeb550faea91a56109821864eedfbd619dc7850887746d31c1724ea7561920'
Luca Giambonini's avatar
Luca Giambonini committed
17
            'SKIP')
18 19
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
AlmAck's avatar
AlmAck committed
20 21 22 23 24 25 26

prepare() {
  mkdir -p build
}

build() {
  cd build
27 28 29 30 31 32 33 34 35
  cmake ../${pkgname}-${pkgver} \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DKDE_INSTALL_LIBDIR=lib \
        -DKDE_INSTALL_SYSCONFDIR=/etc \
        -DKDE_INSTALL_LIBEXECDIR=lib \
        -DUDEV_RULES_INSTALL_DIR=/usr/lib/udev/rules.d \
        -DBUILD_TESTING=OFF \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON "$@"
AlmAck's avatar
AlmAck committed
36 37 38 39 40 41 42
  make
}

package() {
  cd build
  make DESTDIR=${pkgdir} install
}