PKGBUILD 1.48 KB
Newer Older
1 2 3 4
# Contributions from Arch: https://www.archlinux.org/packages/kde-unstable/any/kaccounts-providers/
# Include global configuration

pkgname=kaccounts-providers
totte's avatar
totte committed
5
pkgver=19.08.2
6
pkgrel=3
7 8 9 10
pkgdesc="Small system to administer web accounts for the sites and services across the KDE desktop, including: Google, Facebook, Owncloud, IMAP, Jabber and others"
arch=('x86_64')
url="https://projects.kde.org/projects/playground/base/kde-accounts/kaccounts-providers"
license=('GPL')
11 12 13
groups=('kde' 'kde-uninstall' 'kde-applications' 'kdenetwork')
depends=('libaccounts-glib' 'kaccounts-integration')
makedepends=('extra-cmake-modules' 'intltool' 'python3')
14
source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
totte's avatar
totte committed
15
sha256sums=('d5ad6882ff151d2f0cff2b76a83e38cf37c72a0dbdf4a0aff64420903266a309'
Luca Giambonini's avatar
Luca Giambonini committed
16
            'SKIP')
17 18
validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org>
19 20 21 22 23 24 25

prepare() {
  mkdir -p build
}

build() {
  cd build
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 41
    make DESTDIR=${pkgdir} install
}