summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 591eef6f731b4237f63a27838382ea21815ec8c6 (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
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archinux.org>
# Contributor: Jameson Pugh <imntreal@gmail.com>
# Contributor : Sascha Pfau <MrPeacock@gmail.com>

pkgname=simon
pkgver=0.4.1
pkgrel=4
pkgdesc="Open-source speech recognition program for replacing mouse and keyboard"
arch=('i686' 'x86_64')
url="http://simon.kde.org/"
license=('GPL')
depends=('portaudio' 'qwt-qt4' 'kdebase-runtime' 'kdepimlibs')
makedepends=('automoc4' 'cmake' 'flex' 'docbook-xml' 'boost')
optdepends=('htk: create and modify the speech models'
            'julius: for speech recognition')
install=$pkgname.install
source=(http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.bz2)
sha256sums=('8d55bc3f607a89e15efd51b844d93daf67d9967ad243f54efae324754859342d')

build() {
  cd "${srcdir}"/$pkgname-$pkgver

  install -d build
  cd build

  cmake -DCMAKE_INSTALL_PREFIX=/usr -DQT_QMAKE_EXECUTABLE=qmake-qt4 ..
  make
}

package() {
  cd "${srcdir}"/$pkgname-$pkgver/build

  make DESTDIR="${pkgdir}" install
}