summaryrefslogtreecommitdiff
path: root/extra/kdeaccessibility-kaccessible/PKGBUILD
blob: b3fb8d850f03c9a7243d0237eccf136d85d0027e (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
# $Id: PKGBUILD 153106 2012-03-12 09:12:46Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=kdeaccessibility-kaccessible
pkgver=4.8.1
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='Provides accessibility services like focus tracking and a screenreader'
url='http://accessibility.kde.org/'
license=('GPL' 'FDL')
groups=('kde' 'kdeaccessibility')
depends=('kdelibs' 'speech-dispatcher')
makedepends=('cmake' 'automoc4')
source=("http://download.kde.org/stable/${pkgver}/src/kaccessible-${pkgver}.tar.xz")
sha1sums=('da137f22a8de55858a3ae80f4e95d89c18b50257')

build() {
  cd "${srcdir}"
  mkdir build
  cd build
  cmake ../kaccessible-${pkgver} \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr
  make
}

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