summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 55acf615265ff5fe7a087b46b2186d0e7e89c695 (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
# Maintainer: Felix Golatofski <contact@xdfr.de>
# Contributor: Antonio Rojas <arojas@archlinux.org>

pkgname=ring-kde
pkgver=3.1.0
pkgrel=3
pkgdesc='The KDE client for the Ring communication framework'
url='http://www.ring.cx/'
license=(GPL2)
arch=(x86_64)
depends=(kirigami2 knotifyconfig kdeclarative ring-daemon)
makedepends=(extra-cmake-modules kdoctools akonadi-contacts boost libringqt-git)
source=("https://github.com/KDE/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('a821beefbd7ee8ffc9cc5ff44fbf0d057442af75deb90d15aa690b95965775e7')

prepare() {
  mkdir -p build
}

build() {
  cd build
  cmake ../$pkgname-$pkgver \
	-DCMAKE_INSTALL_PREFIX="$(qtpaths --install-prefix)" \
	-DCMAKE_BUILD_TYPE=Release
  make
}

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