summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 816259e1e8f525465767f739d400684b2d0777ff (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
34
35
36
37
# $Id$
# Contributor: Charles Bos <charlesbos1 AT gmail>
# Contributor: Andrea Scarpino <and...@archlinux.org>

pkgname=kactivities4
pkgver=4.13.3
pkgrel=3
arch=('i686' 'x86_64')
pkgdesc='API for using and interacting with the Activity Manager'
url='https://projects.kde.org/projects/kde/kdelibs/kactivities'
license=('GPL' 'FDL')
depends=('kdelibs')
makedepends=('cmake' 'automoc4' 'mesa')
replaces=('kactivities')
conflicts=('kactivities' 'kactivities-frameworks')
provides=("kactivities==${pkgver}")
source=("http://download.kde.org/Attic/${pkgver}/src/kactivities-${pkgver}.tar.xz")
sha1sums=('54813db8808da63dda7980711ba5d4e01e56d2b0')

prepare() {
  mkdir build
}

build() {
  cd build
  cmake ../kactivities-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DKDE4_BUILD_TESTS=OFF \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DWITH_NepomukCore=OFF
  make
}

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