summaryrefslogtreecommitdiff
path: root/pcr/dasher/PKGBUILD
blob: c48de9071a82aa5b3f2a4d190743cc238fad77c6 (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
# Maintainer: Freemor <freeor@freemor.ca>

pkgname=dasher
pkgver=4.11
pkgrel=1
pkgdesc="Information-efficient text-entry interface, driven by natural continuous pointing gestures"
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('speech-dispatcher' 'gtk3')
makedepends=('git' 'gnome-common' 'gnome-doc-utils')
url="https://github.com/dasher-project/dasher"
source=('git+https://github.com/dasher-project/dasher.git')
sha256sums=('SKIP')


pkgver() {
  cd $pkgname
  git describe --long | sed -e 's/-/+/g' -e 's/^DASHER_//' -e 's/_/./g'
}

prepare() {
  cd $pkgname
  ./autogen.sh
}

build() {
  cd $pkgname
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-scrollkeeper --enable-speech
  make
}

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