PKGBUILD 1.29 KB
Newer Older
1 2
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/telepathy-kde-auth-handler/
# Include global configuration
3 4

pkgname=ktp-auth-handler
AlmAck's avatar
AlmAck committed
5
pkgver=19.04.1
Xuetian Weng's avatar
Xuetian Weng committed
6
pkgrel=1
7 8
pkgdesc="Telepathy contact list application "
arch=('x86_64')
9
url="https://community.kde.org/Real-Time_Communication_and_Collaboration"
10
license=('GPL')
11 12
depends=('ktp-common-internals' 'kdewebkit' 'qca-qt5')
makedepends=('extra-cmake-modules')
13
groups=('kde-telepathy')
AlmAck's avatar
AlmAck committed
14
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
AlmAck's avatar
AlmAck committed
15
sha256sums=('8d06e90a7e73b034c6087079b510e0ac1c27728c885e9aa2e8baef463a892d65'
AlmAck's avatar
AlmAck committed
16
            'SKIP')
AlmAck's avatar
AlmAck committed
17 18
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
19 20 21 22

prepare() {
  mkdir -p build
}
23 24 25

build() {
  cd build
AlmAck's avatar
AlmAck committed
26 27 28 29 30 31 32 33 34
  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 "$@"
35 36 37 38
  make
}

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