summaryrefslogtreecommitdiff
path: root/extra/dasher/PKGBUILD
blob: 8051c708f9330bdf04ba3270c2b14c6fd02a74cb (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 54725 2009-10-11 18:48:49Z jgc $
# Maintainer: damir <damir@archlinux.org>

pkgname=dasher
pkgver=4.10.1
pkgrel=2
pkgdesc="Information-efficient text-entry interface, driven by natural continuous pointing gestures"
arch=(i686 x86_64)
license=('GPL')
depends=('at-spi>=1.27.91' 'libgnomeui>=2.24.1' 'gnome-speech>=0.4.25' 'gconf>=2.26.2-3' 'hicolor-icon-theme')
makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils>=0.17.3')
url="http://www.gnome.org"
groups=('gnome-extra')
options=(!emptydirs)
install=dasher.install
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/4.10/${pkgname}-${pkgver}.tar.bz2)
md5sums=('83e556690ac54c4bb8c49c050510259e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var \
      --disable-scrollkeeper --enable-speech || return 1
  make || return 1
  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1

  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain dasher ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
}