summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3303ac48e442dd9007ac18a9a2c7a0f6406b80f4 (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
# Maintainer Zanny <lordzanny@gmail.com>
# Maintainer: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
# Author: Antonio Rojas <arojas@archlinux.org>

pkgname=kaccounts-providers-git
_name=kaccounts-providers
pkgver=v19.12.1.r40.ga530020
pkgrel=1
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)
depends=(kaccounts-integration)
makedepends=(extra-cmake-modules git intltool)
provides=(kaccounts-providers)
conflicts=(kaccounts-providers)
source=("git+https://invent.kde.org/network/$_name.git")
sha256sums=('SKIP')

pkgver() {
  cd $_name
  git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cmake -B build -S $_name
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}